From: David MacKenzie Date: Wed, 26 Jul 1995 04:26:23 +0000 (+0000) Subject: Remove weird unnecessary shell construction. X-Git-Tag: fsf-origin~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607295de5445bc90fd54c6ff50c03398a15d9f3a;p=thirdparty%2Fautoconf.git Remove weird unnecessary shell construction. --- diff --git a/mkinstalldirs b/mkinstalldirs index 0801ec2c9..cd1fe0a79 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -2,12 +2,12 @@ # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # 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