summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-04 16:08:10 +0000
committerSascha Schumann <sas@php.net>2000-05-04 16:08:10 +0000
commitdc91d47014cedc08ff233aceae9b5d7eee3b5cfd (patch)
tree35d74e8022dd305a358c91815df218c647c8ea9a /build
parent72805c7d9be130edb9655c41a73d5aea46d0c3fa (diff)
downloadphp-git-dc91d47014cedc08ff233aceae9b5d7eee3b5cfd.tar.gz
Remove trailing slash(es) from pathnames
Diffstat (limited to 'build')
-rwxr-xr-xbuild/fastgen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/fastgen.sh b/build/fastgen.sh
index 9261e1a9a6..c8bf431e76 100755
--- a/build/fastgen.sh
+++ b/build/fastgen.sh
@@ -23,7 +23,7 @@
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
-# $Id: fastgen.sh,v 1.3 2000-04-30 03:10:34 sas Exp $
+# $Id: fastgen.sh,v 1.4 2000-05-04 16:08:10 sas Exp $
#
srcdir=$1
@@ -44,7 +44,7 @@ fi
for makefile in $@; do
echo "creating $makefile"
# portable dirname
- dir=`echo $makefile|sed 's%[^/][^/]*$%%'`
+ dir=`echo $makefile|sed 's%/*[^/][^/]*$%%'`
test -d "$dir/" || $mkdir_p "$dir/"
(cat <<EOF