From: Sascha Schumann Date: Sun, 30 Apr 2000 15:50:42 +0000 (+0000) Subject: Always create the target directory, if it does not exist. Also use the X-Git-Tag: APACHE_2_0_ALPHA_4~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c2a300d10eea63d4e04cfe59035efe61f5dad08;p=thirdparty%2Fapache%2Fhttpd.git Always create the target directory, if it does not exist. Also use the Makefile template from the source tree. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85110 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/fastgen.sh b/build/fastgen.sh index f7c2f5614cd..51779ce73cb 100755 --- a/build/fastgen.sh +++ b/build/fastgen.sh @@ -74,6 +74,7 @@ for makefile in $@; do echo "creating $makefile" # portable dirname dir=`echo $makefile|sed 's%[^/][^/]*$%%'` + test -d "$dir/" || $mkdir_p "$dir/" (cat < $makefile +)| cat - $top_srcdir/$makefile.in > $makefile done