httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-1.3/src/helpers mkshadow.sh
Date Tue, 29 Jun 1999 13:43:16 GMT
rse         99/06/29 06:43:15

  Modified:    src/helpers mkshadow.sh
  Log:
  Merge in two robustness enhancements and
  a real bugfix from GNU shtool's mkshadow
  
  Revision  Changes    Path
  1.10      +3 -3      apache-1.3/src/helpers/mkshadow.sh
  
  Index: mkshadow.sh
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/helpers/mkshadow.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mkshadow.sh	1999/04/21 14:32:29	1.9
  +++ mkshadow.sh	1999/06/29 13:43:15	1.10
  @@ -52,7 +52,7 @@
   if [ ! -d $dst ]; then
       mkdir $dst
   fi
  -DIRS="`cd $src
  +DIRS="`cd $src; \
          find . -type d -print |\
          sed -e '/\/CVS/d' \
              -e '/^\.$/d' \
  @@ -64,7 +64,7 @@
   IFS="$OIFS"
   
   #   fill directory tree with symlinks to files
  -FILES="`cd $src
  +FILES="`cd $src; \
           find . -depth -print |\
           sed -e '/\.o$/d' \
               -e '/\.a$/d' \
  @@ -81,7 +81,7 @@
   OIFS="$IFS" IFS="$DIFS"
   for file in $FILES; do
        #  don't use `-type f' above for find because of symlinks
  -     if [ -d $file ]; then
  +     if [ -d "$src/$file" ]; then
            continue
        fi
        basename=`echo $file | sed -e 's:^.*/::'`
  
  
  

Mime
View raw message