Changeset 24163

Show
Ignore:
Timestamp:
15.06.2011 17:16:15 (8 years ago)
Author:
ak19
Message:

Fixed 2 errors in the install-bindist.sh

Files:
1 modified

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"