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>
This commit is contained in:
Alexey Neyman 2016-12-13 22:20:52 -08:00
parent eff79ab714
commit dcb438a9dc

View File

@ -10,7 +10,7 @@ MAKEFLAGS += --no-print-directory --no-builtin-rules
.NOTPARALLEL: .NOTPARALLEL:
# This is where ct-ng is: # 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: # and this is where we're working in:
export CT_TOP_DIR:=$(shell pwd) export CT_TOP_DIR:=$(shell pwd)