httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apache-2.0/src/build fastgen.sh
Date Wed, 03 May 2000 02:42:19 GMT
bjh         00/05/02 19:42:18

  Modified:    src/build fastgen.sh
  Log:
  The 'portable dirname' shouldn't leave a trailing / on the directory name
  as it causes double trailing / in some places which confuses some programs.
  
  Revision  Changes    Path
  1.7       +1 -1      apache-2.0/src/build/fastgen.sh
  
  Index: fastgen.sh
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/build/fastgen.sh,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- fastgen.sh	2000/04/30 15:50:42	1.6
  +++ fastgen.sh	2000/05/03 02:42:18	1.7
  @@ -73,7 +73,7 @@
   for makefile in $@; do
     echo "creating $makefile"
   # portable dirname
  -  dir=`echo $makefile|sed 's%[^/][^/]*$%%'`
  +  dir=`echo $makefile|sed -e 's%[^/][^/]*$%%' -e 's%/$%%'`
     test -d "$dir/" || $mkdir_p "$dir/"
   
     (cat <<EOF
  
  
  

Mime
View raw message