Changeset 21895
- Timestamp:
- 2010-04-16T20:20:39+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/packages/apache-httpd/install-bindist.sh
r21894 r21895 53 53 fi 54 54 55 if [ -f "$SR/bin/envvars" ] 56 then 57 echo "[Preserving existing envvars settings.]" 58 HAD_ENVVARS=yes 59 else 60 HAD_ENVVARS=no 61 fi 55 # we're the ones putting the apache httpd together, including the envvars file 56 # so we can over-write it 57 #if [ -f "$SR/bin/envvars" ] 58 #then 59 # echo "[Preserving existing envvars settings.]" 60 # HAD_ENVVARS=yes 61 #else 62 # HAD_ENVVARS=no 63 #fi 62 64 63 65 # Need to run this script from its own directory … … 95 97 chmod u+rwx "$SR/bin/envvars-std" 96 98 97 if [ $HAD_ENVVARS = no ] 98 then 99 cp -p "$SR/bin/envvars-std" "$SR/bin/envvars" 100 sed -e "s%\*\*APACHE_HOME_OS\*\*%$SR%" "$SR/bin/envvars" > "$SR/bin/envvars.tmp" 101 mv "$SR/bin/envvars.tmp" > "$SR/bin/envvars" 102 fi 103 99 #if [ $HAD_ENVVARS = no ] 100 #then 101 # cp -p "$SR/bin/envvars-std" "$SR/bin/envvars" 102 # sed -e "s%\*\*APACHE_HOME_OS\*\*%$SR%" "$SR/bin/envvars" > "$SR/bin/envvars.tmp" 103 # mv "$SR/bin/envvars.tmp" > "$SR/bin/envvars" 104 #fi 105 106 cp -p "$SR/bin/envvars-std" "$SR/bin/envvars" 107 sed -e "s%\*\*APACHE_HOME_OS\*\*%$SR%" "$SR/bin/envvars" > "$SR/bin/envvars.tmp" 108 mv "$SR/bin/envvars.tmp" > "$SR/bin/envvars" 109 104 110 105 111 # Non-crucial files (replacements not essential)
Note:
See TracChangeset
for help on using the changeset viewer.