apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr-util apu-config.in
Date Fri, 19 Apr 2002 22:44:23 GMT
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
  
  
  

Mime
View raw message