Ignore:
Timestamp:
2009-04-16T17:30:03+12:00 (15 years ago)
Author:
ak19
Message:

Some files still referred to the old path of installation. Though changing the paths in these files isn't crucial (they were not processed by the official Apache install-bindist.sh file, and leaving them unchanged does not interfere with running apache's httpd executable), it was preferable to have as few references to the original path as possible.

File:
1 edited

Legend:

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

    r18879 r19016  
    9999fi
    100100 
     101
     102# Non-crucial files (replacements not essential)
     103# but replacing the occurrences of $PRE in them with $SR anyway:
     104cd "$currentdir/conf/extra/"
     105for one_file in httpd-dav.conf httpd-manual.conf httpd-autoindex.conf httpd-vhosts.conf httpd-ssl.conf httpd-multilang-errordoc.conf; do
     106    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     107    mv $one_file.tmp $one_file
     108    chmod u+w $one_file
     109done
     110
     111cd "$currentdir/conf/original/extra/"
     112for one_file in httpd-dav.conf httpd-manual.conf httpd-autoindex.conf httpd-vhosts.conf httpd-ssl.conf httpd-multilang-errordoc.conf; do
     113    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     114    mv $one_file.tmp $one_file
     115    chmod u+w $one_file
     116done
     117
     118cd "$currentdir/lib/"
     119for one_file in "apr-util-1/apr_dbd_odbc.la" "apr-util-1/apr_dbd_sqlite3.la" "pkgconfig/apr-util-1.pc" "pkgconfig/apr-1.pc" libaprutil-1.la libapr-1.la; do
     120    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     121    mv $one_file.tmp $one_file
     122    chmod u+w $one_file
     123done
     124
     125cd "$currentdir/build/"
     126for one_file in config_vars.mk config.nice apr_rules.mk; do
     127    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     128    mv $one_file.tmp $one_file
     129    chmod u+w $one_file
     130done
     131
     132cd "$currentdir/bin/"
     133for one_file in apu-1-config apr-1-config; do
     134    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     135    mv $one_file.tmp $one_file
     136    chmod u+w $one_file
     137done
     138
     139cd "$currentdir/include/"
     140for one_file in ap_config_auto.h ap_config_layout.h; do
     141    sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp"
     142    mv $one_file.tmp $one_file
     143    chmod u+w $one_file
     144done
     145
     146sed -e "s;\"$PRE\";\"$SR\";" "$currentdir/conf/original/httpd.conf" > "$currentdir/conf/original/httpd.conf.tmp"
     147    mv "$currentdir/conf/original/httpd.conf.tmp" "$currentdir/conf/original/httpd.conf"
     148    chmod u+w "$currentdir/conf/original/httpd.conf"
     149
    101150echo "Ready."
    102151echo " +--------------------------------------------------------+"
Note: See TracChangeset for help on using the changeset viewer.