X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkinstalldirs;fp=mkinstalldirs;h=0000000000000000000000000000000000000000;hb=b0ea0712dd81e2d3dd25ec14c0bb9a6ce0a51056;hp=7cf50869912ecf86b26e8858ee8ac384b6be9246;hpb=9f6bbd483ea92b4a5ae114a36bfebd942e138460;p=yaz-moved-to-github.git diff --git a/mkinstalldirs b/mkinstalldirs deleted file mode 100755 index 7cf5086..0000000 --- a/mkinstalldirs +++ /dev/null @@ -1,40 +0,0 @@ -#! /bin/sh -# mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman -# Created: 1993-05-16 -# Public domain - -# $Id: mkinstalldirs,v 1.2 2000-11-23 10:58:32 adam Exp $ - -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