Skip to content

Commit

Permalink
Fix ct-ng show-config.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stilor committed Jan 11, 2017
1 parent eff79ab commit dcb438a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct-ng.in
Expand Up @@ -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)

Expand Down

0 comments on commit dcb438a

Please sign in to comment.