From dcb438a9dcd2a795314ac91b825647a658a065dc Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 13 Dec 2016 22:20:52 -0800 Subject: 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 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) -- cgit v0.10.2-6-g49f6