Changeset 24953 for main/trunk/greenstone2/gsicontrol.sh
- Timestamp:
- 2012-01-18T20:57:09+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/gsicontrol.sh
r24901 r24953 105 105 fi 106 106 echo "Setting config file to use port $port"; 107 # Need to remove extra quotes around $collecthome. ${string//abc/xyz} does a replace all on abc with xyz 107 108 cat "$GSDLHOME/apache-httpd/$GSDLOS$GSDLARCH/conf/httpd.conf.in" \ 108 109 | sed "s@\*\*GSDL_OS_ARCH\*\*@$GSDLOS$GSDLARCH@g" \ … … 111 112 | sed "s@\*\*HOST_IP\*\*@$hostIP@g" \ 112 113 | sed "s@\*\*HOSTS\*\*@$hosts@g" \ 113 | sed "s@\*\*COLLECTHOME\*\*@$ collecthome@g" \114 | sed "s@\*\*COLLECTHOME\*\*@${collecthome//\"/}@g" \ 114 115 | sed "s@\*\*GSDLHOME\*\*@$GSDLHOME@g" \ 115 116 | sed "s@\*\*APACHE_HOME_OS\*\*@$GSDLHOME/apache-httpd/$GSDLOS$GSDLARCH@g" \
Note:
See TracChangeset
for help on using the changeset viewer.