summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-05-14 07:21:05 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-05-14 07:21:05 +0000
commit5ab3704170cc25d6bff2d1de35926e7d311cc9d1 (patch)
tree271e5f87d88580108375764d03c2984fa6c97c46 /build
parent88bb263632a2d70feee9494610ee5f5f2a798722 (diff)
downloadapr-5ab3704170cc25d6bff2d1de35926e7d311cc9d1.tar.gz
Merge bjh's change to mkdir.sh from httpd-2.0.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63395 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rwxr-xr-xbuild/mkdir.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/mkdir.sh b/build/mkdir.sh
index 4cd33c567..b947c9260 100755
--- a/build/mkdir.sh
+++ b/build/mkdir.sh
@@ -23,6 +23,8 @@ for file in ${1+"$@"} ; do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
+ ?: ) pathcomp="$pathcomp/"
+ continue ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp" 1>&2