]> granicus.if.org Git - apache/commitdiff
Since binbuild is currently doing a static build, the install-bindist.sh
authorGreg Ames <gregames@apache.org>
Tue, 28 Aug 2001 18:23:57 +0000 (18:23 +0000)
committerGreg Ames <gregames@apache.org>
Tue, 28 Aug 2001 18:23:57 +0000 (18:23 +0000)
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

index d430212edf5559ca589caec488500846dd91eab6..9c3d62b0cb6859372fb95672b8b17a97a943be4c 100755 (executable)
@@ -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" && \