Changeset 198 for nutchez-0.2


Ignore:
Timestamp:
Jun 17, 2010, 11:00:06 AM (14 years ago)
Author:
rock
Message:

修改 install 工作路徑變數

Location:
nutchez-0.2/src/test
Files:
2 edited

Legend:

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

    r195 r198  
    77source ./install_lang.zh
    88
    9 Work_Path=$(echo $0 | sed 's/install//')
     9Work_Path="./"
     10Work_Path_J=0
     11
     12# Work Path setup
     13echo $0 | grep '/' || Work_Path_J=1
     14if [ "$Work_Path_J" == "0"  ]; then
     15    Work_Path=$(echo $0 | sed 's/install//')
     16fi
    1017
    1118# Source functions
  • nutchez-0.2/src/test/nutchez

    r197 r198  
    2121Work_Path_J=0
    2222
    23 # Woek Path setup
     23# Work Path setup
    2424echo $0 | grep '/' || Work_Path_J=1
    2525if [ "$Work_Path_J" == "0"  ]; then
Note: See TracChangeset for help on using the changeset viewer.