Changeset 181 for nutchez-0.2/src/test


Ignore:
Timestamp:
Jun 11, 2010, 4:35:51 PM (14 years ago)
Author:
rock
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/nutchez

    r180 r181  
    251251else
    252252    modify_line_nu=$(cat -n $Tomcat_HOME/conf/server.xml | grep -v SSL | grep 'HTTP/1.1' | grep '<Connector' | awk '{print $1}')
    253     sed -i "${modify_line_nu}c <Connector port="$tomcatPort" protocol="HTTP/1.1"" $Tomcat_HOME/conf/server.xml
     253    sed -i "${modify_line_nu}c <Connector port="$(cat $tomcatPort)" protocol="HTTP/1.1"" $Tomcat_HOME/conf/server.xml
    254254    $Tomcat_HOME/bin/shutdown.sh
    255255    $Tomcat_HOME/bin/startup.sh
Note: See TracChangeset for help on using the changeset viewer.