mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
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:
parent
eff79ab714
commit
dcb438a9dc
2
ct-ng.in
2
ct-ng.in
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user