From 2b2548d388c2e3b4a59d5dd41554a8b1127e2694 Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Tue, 28 Aug 2001 18:23:57 +0000 Subject: [PATCH] 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 --- build/binbuild.sh | 7 +++++-- 1 file 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" && \ -- 2.40.0