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.
1.1 --- a/ct-ng.in Thu Aug 30 19:49:21 2007 +0000
1.2 +++ b/ct-ng.in Fri Aug 31 16:20:03 2007 +0000
1.3 @@ -7,7 +7,7 @@
1.4
1.5 # Remember the name of the Makefile
1.6 CT_MAKEFILE := $(lastword $(MAKEFILE_LIST))
1.7 -CT_NG := $(shell echo '$(CT_MAKEFILE)' |sed -r -e 's,($(subst :,|,$(PATH)))/,,;')
1.8 +CT_NG := $(CT_MAKEFILE)
1.9
1.10 export CT_TOP_DIR:=$(shell pwd)
1.11 export CT_LIB_DIR:=@@CT_LIBDIR@@