You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2002/04/20 00:44:23 UTC
cvs commit: apr-util apu-config.in
jerenkrantz 02/04/19 15:44:23
Modified: . apu-config.in
Log:
If $bindir doesn't exist, do not cd to that directory.
(Mimics change to apr-config.in in apr)
Revision Changes Path
1.11 +5 -1 apr-util/apu-config.in
Index: apu-config.in
===================================================================
RCS file: /home/cvs/apr-util/apu-config.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- apu-config.in 16 Apr 2002 07:14:50 -0000 1.10
+++ apu-config.in 19 Apr 2002 22:44:23 -0000 1.11
@@ -103,7 +103,11 @@
thisdir="`dirname $0`"
thisdir="`cd $thisdir && pwd`"
-tmpbindir="`cd $bindir && pwd`"
+if test -d $bindir; then
+ tmpbindir="`cd $bindir && pwd`"
+else
+ tmpbindir=""
+fi
if test "$tmpbindir" = "$thisdir"; then
location=installed
elif test "$APU_SOURCE_DIR" = "$thisdir"; then