logo       

FYI: man2.test portability tweak: msg#00060

sysutils.automake.patches

Subject: FYI: man2.test portability tweak

2002-04-26 Alexandre Duret-Lutz <duret_g@xxxxxxxx>

* tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.

Index: tests/man2.test
===================================================================
RCS file: /cvs/automake/automake/tests/man2.test,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 man2.test
--- tests/man2.test 13 Apr 2002 21:52:18 -0000 1.1.2.1
+++ tests/man2.test 26 Apr 2002 15:54:37 -0000
@@ -24,7 +24,7 @@

# Let's play with $DESTDIR too, it shouldn't hurt.
./configure --prefix=''
-$MAKE DESTDIR=$PWD/=inst install
+DESTDIR="`pwd`/=inst" $MAKE -e SHELL=/bin/sh install

test -f ./=inst/man/man2/foo.2
test -f ./=inst/man/man4/foo.4
--
Alexandre Duret-Lutz





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise