summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/binbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/binbuild.sh b/build/binbuild.sh
index 36192c3afa..f646508b4c 100755
--- a/build/binbuild.sh
+++ b/build/binbuild.sh
@@ -215,6 +215,12 @@ cp README.bindist ../httpd-$VER-$OS.README
echo "else" && \
echo " lcopy bindist/htdocs \$SR/htdocs 755 644" && \
echo "fi" && \
+ echo "if [ -d \$SR/error ]" && \
+ echo "then" && \
+ echo " echo \"[Preserving existing error documents directory.]\"" && \
+ echo "else" && \
+ echo " lcopy bindist/error \$SR/error 755 644" && \
+ echo "fi" && \
echo " " && \
echo "sed -e \"s;^#!/.*;#!\$PERL;\" -e \"s;\@prefix\@;\$SR;\" -e \"s;\@sbindir\@;\$SR/bin;\" \\" && \
echo " -e \"s;\@libexecdir\@;\$SR/libexec;\" -e \"s;\@includedir\@;\$SR/include;\" \\" && \