From 94b7792718980b7588975fac3ac0832159c62fc6 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 5 Oct 2008 16:26:13 +0000 Subject: [PATCH] use mksh realpath builtin instead of readlink -f for canonicalisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit note: there’s still a readlink(1) call left in, for instance, mirmake; this does not hurt because we initially assumed that readlink(1) does exist anyway and bundled ours just because some do not have the ‘-f’ option for realpath(2)isation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 065348f..a7fe83c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/Makefile,v 1.61 2008/08/02 17:40:37 tg Exp $ +# $MirOS: src/bin/mksh/Makefile,v 1.62 2008/10/05 16:26:13 tg Exp $ #- # use CPPFLAGS=-DDEBUG __CRAZY=Yes to check for certain more stuff @@ -38,7 +38,7 @@ regress: ${PROG} check.pl check.t -rm -rf regress-dir mkdir -p regress-dir echo export FNORD=666 >regress-dir/.mkshrc - HOME=$$(readlink -nf regress-dir) perl ${.CURDIR}/check.pl \ + HOME=$$(realpath regress-dir) perl ${.CURDIR}/check.pl \ -s ${.CURDIR}/check.t -v -p ./${PROG} test-build: .PHONY