Changeset 224 for nutchez-0.2/src/shell/client_install
- Timestamp:
- Jun 25, 2010, 2:24:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/client_install
r220 r224 18 18 Linux_Version=""; 19 19 Nutchuser_Passwd="xxxxxxxxxx"; 20 Work_Path="./"21 Work_Path_J=022 20 21 Work_Path=`dirname "$0"` 22 23 if [ -f $Work_Path/client_install_func.sh ];then 24 Work_Path=`cd "$Work_Path"; pwd` 25 elif [ -f $Work_Path/bin/client_install_func.sh ];then 26 Work_Path=`cd "$Work_Path/bin"; pwd`; 27 else 28 echo "Import the installation libraries of client Error!!!" 29 exit 1; 30 fi 31 32 #Work_Path="./" 33 #Work_Path_J=0 23 34 # Work Path Setup 24 echo $0 | grep '/' || Work_Path_J=1 25 if [ "$Work_Path_J" == "0" ]; then 26 Work_Path=$(echo $0 | sed 's/client_install//') 27 fi 28 # Source functions 29 #if [ ! -f $Work_Path/client_install_func.sh ];then 30 # scp 35 #echo $0 | grep '/' || Work_Path_J=1 36 #if [ "$Work_Path_J" == "0" ]; then 37 # Work_Path=$(echo $0 | sed 's/client_install//') 31 38 #fi 39 32 40 source $Work_Path/client_install_func.sh; 33 34 41 35 42 # Language Choice
Note: See TracChangeset
for help on using the changeset viewer.