diff options
author | Sascha Schumann <sascha@apache.org> | 2000-09-23 15:55:37 +0200 |
---|---|---|
committer | Sascha Schumann <sascha@apache.org> | 2000-09-23 15:55:37 +0200 |
commit | 137b9009a09bd394d134762598c2c9a5c98e5572 (patch) | |
tree | 8e607ec22726392339e4b9aa8d6383f55840351b | |
parent | Pedant of bsd_makefile. Reverses the include directives to SysV-style. (diff) | |
download | apache2-137b9009a09bd394d134762598c2c9a5c98e5572.tar.xz apache2-137b9009a09bd394d134762598c2c9a5c98e5572.zip |
Workaround for systems like BSD/OS without mktemp.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86306 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | build/bsd_makefile | 2 | ||||
-rwxr-xr-x | build/sysv_makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/bsd_makefile b/build/bsd_makefile index d9066bdbfc..22370ccef7 100755 --- a/build/bsd_makefile +++ b/build/bsd_makefile @@ -60,7 +60,7 @@ test -f build/bsd_makefile || exit 2 test -f bsd_converted && exit 0 -tmpfile=`mktemp /tmp/bsd_makefile.XXXXXX` || exit 1 +tmpfile=`mktemp /tmp/bsd_makefile.XXXXXX` || tmpfile="tmp.$$" for i in build/*.mk; do sed 's/^include \(.*\)/.include "\1"/' $i >$tmpfile \ && cp $tmpfile $i diff --git a/build/sysv_makefile b/build/sysv_makefile index ef37030dde..623279747a 100755 --- a/build/sysv_makefile +++ b/build/sysv_makefile @@ -60,7 +60,7 @@ test -f build/sysv_makefile || exit 2 test -f bsd_converted || exit 1 -tmpfile=`mktemp /tmp/sysv_makefile.XXXXXX` || exit 1 +tmpfile=`mktemp /tmp/sysv_makefile.XXXXXX` || tmpfile="tmp.$$" for i in build/*.mk; do sed 's/^\.include "\(.*\)"/include \1/' $i >$tmpfile \ && cp $tmpfile $i |