From 36a23e86b6ab1265bbf883dd71bc844f7c9183f3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Oct 2010 15:50:08 +0000 Subject: [PATCH] * "type -P" isn't portable. --- substitute.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substitute.mk b/substitute.mk index 50d63ef5c..f502b942d 100644 --- a/substitute.mk +++ b/substitute.mk @@ -25,6 +25,6 @@ -e "s^@xmlflags\@^$(xmlflags)^g" \ -e "s^@xsltproc\@^$(xsltproc)^g" \ -e "s^@version\@^$(VERSION)^g" \ - -e "s^@testPath\@^$(coreutils):$$(dirname $$(type -P expr))^g" \ + -e "s^@testPath\@^$(coreutils):$$(dirname $$(type -p expr))^g" \ < $< > $@ || rm $@ if test -x $<; then chmod +x $@; fi