diff options
| author | Sascha Schumann <sas@php.net> | 2000-05-04 16:08:10 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-05-04 16:08:10 +0000 |
| commit | dc91d47014cedc08ff233aceae9b5d7eee3b5cfd (patch) | |
| tree | 35d74e8022dd305a358c91815df218c647c8ea9a /build | |
| parent | 72805c7d9be130edb9655c41a73d5aea46d0c3fa (diff) | |
| download | php-git-dc91d47014cedc08ff233aceae9b5d7eee3b5cfd.tar.gz | |
Remove trailing slash(es) from pathnames
Diffstat (limited to 'build')
| -rwxr-xr-x | build/fastgen.sh | 4 |
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 |
