Ignore:
Timestamp:
2011-06-15T17:16:15+12:00 (13 years ago)
Author:
ak19
Message:

Fixed 2 errors in the install-bindist.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/packages/apache-httpd/install-bindist.sh

    r23981 r24163  
    8787# IMPORTANT: need to insert the ServerRoot nested inside quotes into the apachectl file
    8888#cp bin/apachectl.in bin/apachectl
    89 sed -e "s%\*\*APACHE_HOME_OS\*\*%\"$SR\"%" \
     89sed -e "s%\*\*APACHE_HOME_OS\*\*/bin/envvars%\"$SR/bin/envvars\"%" \
     90    -e "s%\*\*APACHE_HOME_OS\*\*%\"$SR\"%" \
    9091    -e "s%^HTTPD=.*$%HTTPD=\"$SR/bin/httpd\"%" \
    91     -e "s%\$HTTPD%\"\$HTTPD\" -d \"$SR\"%" bin/apachectl.in > "$SR/bin/apachectl.tmp"
     92    -e "s%\$HTTPD%\$HTTPD -d \"$SR\"%" bin/apachectl.in > "$SR/bin/apachectl.tmp"
    9293mv "$SR/bin/apachectl.tmp" "$SR/bin/apachectl"
    9394chmod u+rwx "$SR/bin/apachectl"
Note: See TracChangeset for help on using the changeset viewer.