--- a/mkinstalldirs Sun Dec 16 20:50:41 2007 -0500
+++ b/mkinstalldirs Sun Dec 16 21:05:23 2007 -0500
@@ -1,7 +1,7 @@
# mkinstalldirs --- make directory hierarchy
-scriptversion=2004-02-15.20
+scriptversion=2005-06-29.22 # Original author: Noah Friedman <friedman@prep.ai.mit.edu>
@@ -12,7 +12,7 @@
# <automake-patches@gnu.org>.
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
@@ -27,7 +27,7 @@
-h | --help | --h*) # -h for help
@@ -37,7 +37,7 @@
--) # stop option processing
@@ -103,13 +103,21 @@
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ test "x$d" = x && continue -*) pathcomp=./$pathcomp ;;
@@ -124,7 +132,7 @@
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
@@ -134,7 +142,7 @@