From 34ac33c976fb9bb51d818f2c1674bff823edbe24 Mon Sep 17 00:00:00 2001 From: hal9 Date: Sat, 12 Oct 2002 05:24:18 +0000 Subject: [PATCH] Test. --- mkinstalldirs | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 mkinstalldirs diff --git a/mkinstalldirs b/mkinstalldirs deleted file mode 100644 index a87183de..00000000 --- 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 2001/10/09 09:27:24 twb 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 -- 2.39.2