summaryrefslogtreecommitdiff
path: root/mkinstalldirs
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@djmnet.org>1995-07-26 04:26:23 +0000
committerDavid MacKenzie <djm@djmnet.org>1995-07-26 04:26:23 +0000
commit9e63357e180e9f5d85740a7af2ddb97028e344e5 (patch)
tree652a38492967f18835afad1aecacefd435afd79d /mkinstalldirs
parent49633efbcc056cc97928b22ff274b5774839bfae (diff)
downloadglibc-9e63357e180e9f5d85740a7af2ddb97028e344e5.tar.gz
Remove weird unnecessary shell construction.
Diffstat (limited to 'mkinstalldirs')
-rwxr-xr-xmkinstalldirs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinstalldirs b/mkinstalldirs
index 0801ec2c96..cd1fe0a794 100755
--- a/mkinstalldirs
+++ b/mkinstalldirs
@@ -2,12 +2,12 @@
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
-# Last modified: 1994-03-25
# Public domain
errstatus=0
-for file in ${1+"$@"} ; do
+for file
+do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift