Ignore:
Timestamp:
Jun 15, 2010, 4:10:36 PM (15 years ago)
Author:
rock
Message:

新增 Work_Path

File:
1 edited

Legend:

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

    r186 r194  
    1818Tomcat_HOME="/opt/nutchez/tomcat"
    1919NutchEZ_HOME="/home/nutchuser/nutchez"
     20Work_Path=$(echo $0 | sed 's/client_install//')
    2021
    2122# [Env Declaration] #
    22 . lang_en_US_nutchez
     23. $Work_Path/lang_en_US_nutchez
    2324
    2425# [Functions Declaration] #
     
    2829
    2930# if lang=zh then source lang_zh_TW_nutchez
    30 echo $lang | grep 'zh' && source lang_zh_TW_nutchez
     31echo $lang | grep 'zh' && source $Work_Path/lang_zh_TW_nutchez
    3132}
    3233
     
    332333    exit
    333334elif [ "$(cat $langSwitch)" == "en_US" ]; then
    334     source lang_en_US_nutchez
     335    source $Work_Path/lang_en_US_nutchez
    335336    main_menu
    336337    menu_choose
    337338elif [ "$(cat $langSwitch)" == "zh_TW" ]; then
    338     source lang_zh_TW_nutchez
     339    source $Work_Path/lang_zh_TW_nutchez
    339340    main_menu
    340341    menu_choose
Note: See TracChangeset for help on using the changeset viewer.