From 69c757a97d2ac7c2fd501cdcf83a30f7dfe38701 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 31 Aug 2007 16:20:03 +0000 Subject: 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 --git a/ct-ng.in b/ct-ng.in index ebc4260..905cddd 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@@ -- cgit v0.10.2-6-g49f6