diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-04-07 22:20:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-04-07 22:20:23 +0000 |
commit | 6003326d476ae5bb81261395724e85d8d686071d (patch) | |
tree | 85ee99b181019bbb8006d5c2b1e453cbc7c83609 /mkinstalldirs | |
parent | 5439ab7459283bf61a0256c3a20df164c780ef6c (diff) | |
download | bc-tarball-bc-1.07.1.tar.gz |
Diffstat (limited to 'mkinstalldirs')
-rwxr-xr-x | mkinstalldirs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/mkinstalldirs b/mkinstalldirs deleted file mode 100755 index cc8783e..0000000 --- a/mkinstalldirs +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/sh -# 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 - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift - - pathcomp= - for d in ${1+"$@"} ; do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac - - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" 1>&2 - mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$? - fi - - if test ! -d "$pathcomp"; then - errstatus=$lasterr - fi - - pathcomp="$pathcomp/" - done -done - -exit $errstatus - -# mkinstalldirs ends here |