use mksh realpath builtin instead of readlink -f for canonicalisation

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
This commit is contained in:
tg 2008-10-05 16:26:13 +00:00
parent 5d9e4c9e16
commit 94b7792718

View File

@ -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