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:
parent
5d9e4c9e16
commit
94b7792718
4
Makefile
4
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
|
# 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
|
-rm -rf regress-dir
|
||||||
mkdir -p regress-dir
|
mkdir -p regress-dir
|
||||||
echo export FNORD=666 >regress-dir/.mkshrc
|
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}
|
-s ${.CURDIR}/check.t -v -p ./${PROG}
|
||||||
|
|
||||||
test-build: .PHONY
|
test-build: .PHONY
|
||||||
|
Loading…
Reference in New Issue
Block a user