summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/lynx/mkdirs.sh
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-05-01 18:59:41 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-05-01 18:59:41 +0000
commit83a9886c0ab87ef4a00fe5eaa007ca5619e8a528 (patch)
tree245e9a9e918b534bf00cbf3b6919a26e5594f053 /gnu/usr.bin/lynx/mkdirs.sh
parent44b1bba2a33b56bcaa32d20a6c76f14845797fb0 (diff)
Update to lynx-2.8.4-rel1, patchset d, now with IPv6 as well
Local patches we maintain to the distribution are: - replace unbounded fscanf with fgets (avsm) - spelling fixes (deraadt) - hppa -O0 workaround (mickey) - default to ftp passive (deraadt) - work with non-exec scripts (deraadt,hin,maja) - be more careful with rlogin username (art) - default to our webpage (deraadt) - install helpfiles locally (maja) - mkdtemp temp space directory (art) - install more recent config.guess (avsm) Tested by beck,millert,grange,fries,miod and others, deraadt@ ok
Diffstat (limited to 'gnu/usr.bin/lynx/mkdirs.sh')
-rw-r--r--gnu/usr.bin/lynx/mkdirs.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/usr.bin/lynx/mkdirs.sh b/gnu/usr.bin/lynx/mkdirs.sh
index 9a20f82228d..8f0503e0382 100644
--- a/gnu/usr.bin/lynx/mkdirs.sh
+++ b/gnu/usr.bin/lynx/mkdirs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
@@ -22,7 +22,10 @@ for file in ${1+"$@"} ; do
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp" 1>&2
- mkdir "$pathcomp" || errstatus=$?
+ case "$pathcomp" in
+ [a-zA-Z]: ) ;; # DOSISH systems
+ * ) mkdir "$pathcomp" || errstatus=$? ;;
+ esac
fi
pathcomp="$pathcomp/"