apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: apr-util apu-config.in
Date Mon, 02 Jun 2003 12:51:54 GMT
striker     2003/06/02 05:51:54

  Modified:    .        apu-config.in
  Log:
  Add a check to see if the sourcedir actually exists.  If it doesn't,
  which is likely when installed by a package, don't try and expand
  the path using realpath.
  
  Revision  Changes    Path
  1.32      +3 -1      apr-util/apu-config.in
  
  Index: apu-config.in
  ===================================================================
  RCS file: /home/cvs/apr-util/apu-config.in,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- apu-config.in	23 Mar 2003 03:32:57 -0000	1.31
  +++ apu-config.in	2 Jun 2003 12:51:54 -0000	1.32
  @@ -120,7 +120,9 @@
   # Otherwise, being in a symlinked dir may result in incorrect output.
   if test -x "`which realpath 2>/dev/null`"; then
       thisdir="`realpath $thisdir`"
  -    APU_SOURCE_DIR="`realpath $APU_SOURCE_DIR`"
  +    if test -d "$APU_SOURCE_DIR"; then
  +        APU_SOURCE_DIR="`realpath $APU_SOURCE_DIR`"
  +    fi
       if test -n $tmpbindir; then
           tmpbindir="`realpath $tmpbindir`"
       fi
  
  
  

Mime
View raw message