# HG changeset patch # User "Yann E. MORIN" # Date 1188577203 0 # Node ID 9fcb5046b4b53cc674df88d60c8c0044f97732e9 # Parent 10d6514f4f94dfd268c622becddc4f331e57f9aa 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. diff -r 10d6514f4f94 -r 9fcb5046b4b5 ct-ng.in --- a/ct-ng.in Thu Aug 30 19:49:21 2007 +0000 +++ b/ct-ng.in Fri Aug 31 16:20:03 2007 +0000 @@ -7,7 +7,7 @@ # 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@@