summaryrefslogtreecommitdiff
path: root/build/install-bindist.sh.in
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-12-15 18:15:52 +0000
committerJeff Trawick <trawick@apache.org>2001-12-15 18:15:52 +0000
commit8e73a781d0831a4e50a9b5b06070b230ccfc19ae (patch)
tree36761e74e638f170e613ee20d46a6fb8409d48ce /build/install-bindist.sh.in
parentc2adeb592d1490b80444b71279ef279aa4d47712 (diff)
downloadhttpd-8e73a781d0831a4e50a9b5b06070b230ccfc19ae.tar.gz
handle the envvar file properly in install-bindist.sh
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92492 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/install-bindist.sh.in')
-rwxr-xr-xbuild/install-bindist.sh.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/install-bindist.sh.in b/build/install-bindist.sh.in
index 661c1d2a6a..ca72203136 100755
--- a/build/install-bindist.sh.in
+++ b/build/install-bindist.sh.in
@@ -82,7 +82,17 @@ lcopy bindist/include $SR/include 755 644
lcopy bindist/icons $SR/icons 755 644
lcopy bindist/manual $SR/manual 755 644
lcopy bindist/cgi-bin $SR/cgi-bin 750 750
+if [ -f $SR/bin/envvars ]
+then
+ echo "[Preserving existing envvars settings.]"
+ cp -p $SR/bin/envvars ./envvars.orig
+fi
lcopy bindist/bin $SR/bin 750 750
+if [ -f ./envvars.orig ]
+then
+ cp -p ./envvars.orig $SR/bin/envvars
+ rm ./envvars.orig
+fi
lcopy bindist/lib $SR/lib 750 750
if [ -d $SR/conf ]
then