aboutsummaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-08-31 16:20:03 +0000
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-08-31 16:20:03 +0000
commit69c757a97d2ac7c2fd501cdcf83a30f7dfe38701 (patch)
tree776e4b4fb7a357e9fb5797e76bcdf3112f8c9972 /ct-ng.in
parent49c5a210bf69b590d903e84f53db11c63663d43d (diff)
downloadcrosstool-ng-69c757a97d2ac7c2fd501cdcf83a30f7dfe38701.tar.gz
crosstool-ng-69c757a97d2ac7c2fd501cdcf83a30f7dfe38701.tar.bz2
crosstool-ng-69c757a97d2ac7c2fd501cdcf83a30f7dfe38701.zip
Trying to guess how we were called does not work. Don't try to be smart, and take the full path, even if we are in PATH.
Diffstat (limited to 'ct-ng.in')
-rw-r--r--ct-ng.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ct-ng.in b/ct-ng.in
index ebc42603..905cddd6 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -7,7 +7,7 @@ MAKEFLAGS += --no-print-directory --no-builtin-rules
# Remember the name of the Makefile
CT_MAKEFILE := $(lastword $(MAKEFILE_LIST))
-CT_NG := $(shell echo '$(CT_MAKEFILE)' |sed -r -e 's,($(subst :,|,$(PATH)))/,,;')
+CT_NG := $(CT_MAKEFILE)
export CT_TOP_DIR:=$(shell pwd)
export CT_LIB_DIR:=@@CT_LIBDIR@@