diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-11 17:28:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-11 17:28:52 +0000 |
| commit | 6bf858e4f4fc19914a36d51546278e6464ec00e0 (patch) | |
| tree | 4010d904cbc802561f284578ad6e4cada9aa1422 | |
| parent | 9e971aa6f159587e0416be7cab22e0e4d5d5435d (diff) | |
autogenned
| -rw-r--r-- | mkinstalldirs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/mkinstalldirs b/mkinstalldirs deleted file mode 100644 index 6b3b5fc5..00000000 --- a/mkinstalldirs +++ /dev/null @@ -1,40 +0,0 @@ -#! /bin/sh -# mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman <friedman@prep.ai.mit.edu> -# Created: 1993-05-16 -# Public domain - -# $Id$ - -errstatus=0 - -for file -do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift - - pathcomp= - for d - do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac - - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" - - mkdir "$pathcomp" || lasterr=$? - - if test ! -d "$pathcomp"; then - errstatus=$lasterr - fi - fi - - pathcomp="$pathcomp/" - done -done - -exit $errstatus - -# mkinstalldirs ends here |
