Commit f4e9af80 authored by Brian Havard's avatar Brian Havard
Browse files

The 'portable dirname' shouldn't leave a trailing / on the directory name

as it causes double trailing / in some places which confuses some programs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85128 13f79535-47bb-0310-9956-ffa450edef68
parent b4a941ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ fi
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