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
make clean && \
echo "----------------------------------------------------------------------" && \
echo "[EOF]" \
-) > build.log 2>&1
+) 2>&1 | tee build.log
if [ ! -f ./bindist/bin/httpd ]
then
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" && \