From e8ec7aa8e38a93f5b034ac74cebce5de23710317 Mon Sep 17 00:00:00 2001 From: hongbotian Date: Mon, 30 Nov 2015 01:45:08 -0500 Subject: upload http JIRA: BOTTLENECK-10 Change-Id: I7598427ff904df438ce77c2819ee48ac75ffa8da Signed-off-by: hongbotian --- .../apr-util/xml/expat/conftools/mkinstalldirs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/conftools/mkinstalldirs (limited to 'rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/conftools/mkinstalldirs') diff --git a/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/conftools/mkinstalldirs b/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/conftools/mkinstalldirs new file mode 100755 index 00000000..d0aa5646 --- /dev/null +++ b/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/conftools/mkinstalldirs @@ -0,0 +1,40 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +# $Id: mkinstalldirs 106503 2004-11-24 23:45:40Z nd $ + +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 -- cgit 1.2.3-korg