summaryrefslogtreecommitdiff
path: root/build/binbuild.sh
diff options
context:
space:
mode:
authorGreg Ames <gregames@apache.org>2001-08-28 18:23:57 +0000
committerGreg Ames <gregames@apache.org>2001-08-28 18:23:57 +0000
commit2b2548d388c2e3b4a59d5dd41554a8b1127e2694 (patch)
tree421bcf0ba206cc1337d97d4bc3293b0048c80a0e /build/binbuild.sh
parent7c83799b853bd2a705ab0416ef2673409383cdb3 (diff)
downloadhttpd-2b2548d388c2e3b4a59d5dd41554a8b1127e2694.tar.gz
Since binbuild is currently doing a static build, the install-bindist.sh
script it generates shouldn't expect to find a modules directory. Also, tee binbuild's output into build.log (rather than redirect it) so you can see what's going on with the build. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/binbuild.sh')
-rwxr-xr-xbuild/binbuild.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/binbuild.sh b/build/binbuild.sh
index d430212edf..9c3d62b0cb 100755
--- a/build/binbuild.sh
+++ b/build/binbuild.sh
@@ -55,7 +55,7 @@ echo "Platform is \"$OS\"..."
make clean && \
echo "----------------------------------------------------------------------" && \
echo "[EOF]" \
-) > build.log 2>&1
+) 2>&1 | tee build.log
if [ ! -f ./bindist/bin/httpd ]
then
@@ -197,7 +197,10 @@ cp README.bindist ../httpd-$VER-$OS.README
echo "lmkdir \$SR/proxy 750" && \
echo "lmkdir \$SR/logs 750" && \
echo "lcopy bindist/man \$SR/man 755 644" && \
- echo "lcopy bindist/modules \$SR/modules 750 644" && \
+ echo "if [ -d bindist/modules ]" && \
+ echo "then" && \
+ echo " lcopy bindist/modules \$SR/modules 750 644" && \
+ echo "fi" && \
echo "lcopy bindist/include \$SR/include 755 644" && \
echo "lcopy bindist/icons \$SR/icons 755 644" && \
echo "lcopy bindist/cgi-bin \$SR/cgi-bin 750 750" && \