Changeset 19018

Show
Ignore:
Timestamp:
16.04.2009 17:41:41 (10 years ago)
Author:
ak19
Message:

Fixed error in previous commit: the inclusion of quotes meant the pattern match failed.

Files:
1 modified

Legend:

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

    r19016 r19018  
    104104cd "$currentdir/conf/extra/" 
    105105for 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" 
     106    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    107107    mv $one_file.tmp $one_file 
    108108    chmod u+w $one_file 
     
    111111cd "$currentdir/conf/original/extra/" 
    112112for 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" 
     113    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    114114    mv $one_file.tmp $one_file 
    115115    chmod u+w $one_file 
     
    118118cd "$currentdir/lib/" 
    119119for 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" 
     120    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    121121    mv $one_file.tmp $one_file 
    122122    chmod u+w $one_file 
     
    125125cd "$currentdir/build/" 
    126126for one_file in config_vars.mk config.nice apr_rules.mk; do 
    127     sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp" 
     127    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    128128    mv $one_file.tmp $one_file 
    129129    chmod u+w $one_file 
     
    132132cd "$currentdir/bin/" 
    133133for one_file in apu-1-config apr-1-config; do 
    134     sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp" 
     134    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    135135    mv $one_file.tmp $one_file 
    136136    chmod u+w $one_file 
     
    139139cd "$currentdir/include/" 
    140140for one_file in ap_config_auto.h ap_config_layout.h; do 
    141     sed -e "s;\"$PRE\";\"$SR\";" "$one_file" > "$one_file.tmp" 
     141    sed -e "s;$PRE;$SR;" "$one_file" > "$one_file.tmp" 
    142142    mv $one_file.tmp $one_file 
    143143    chmod u+w $one_file 
    144144done 
    145145 
    146 sed -e "s;\"$PRE\";\"$SR\";" "$currentdir/conf/original/httpd.conf" > "$currentdir/conf/original/httpd.conf.tmp" 
     146sed -e "s;$PRE;$SR;" "$currentdir/conf/original/httpd.conf" > "$currentdir/conf/original/httpd.conf.tmp" 
    147147    mv "$currentdir/conf/original/httpd.conf.tmp" "$currentdir/conf/original/httpd.conf" 
    148148    chmod u+w "$currentdir/conf/original/httpd.conf"