summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-14 06:20:52 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-11 02:29:14 (GMT)
commitdcb438a9dcd2a795314ac91b825647a658a065dc (patch)
tree9fb634b483f88dfad1fe0b21d9c050ffe5514928
parenteff79ab71433cfd2a9f40b4cb3de580f0e2de17f (diff)
Fix ct-ng show-config.
If configured with --enable-local, CT_NG is exported as plain 'ct-ng' without any path. showSamples.sh then fails to invoke ct-ng (as current directory is not in $PATH). Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--ct-ng.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 6149d1b..51b1ff6 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -10,7 +10,7 @@ MAKEFLAGS += --no-print-directory --no-builtin-rules
.NOTPARALLEL:
# This is where ct-ng is:
-export CT_NG:=$(lastword $(MAKEFILE_LIST))
+export CT_NG:=$(abspath $(lastword $(MAKEFILE_LIST)))
# and this is where we're working in:
export CT_TOP_DIR:=$(shell pwd)