Changeset 220 for nutchez-0.2/src/shell


Ignore:
Timestamp:
Jun 24, 2010, 5:49:58 PM (14 years ago)
Author:
waue
Message:

install :加入自動匯入source有可能的路徑
client_install 僅加入註解還沒修改,需要討論使用者如何使用最方便

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

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/client_install

    r214 r220  
    2727fi
    2828# Source functions
    29 source $Work_Path/client_install_func.sh
     29#if [ ! -f $Work_Path/client_install_func.sh ];then
     30#  scp
     31#fi
     32source $Work_Path/client_install_func.sh;
     33 
    3034
    3135# Language Choice
  • nutchez-0.2/src/shell/install

    r219 r220  
    33
    44# 變數宣告
     5
    56Work_Path="./"
    67Work_Path_J=0
     
    1314
    1415# Source functions
    15 source $Work_Path/install_func.sh
    16 source $Work_Path/lang_link
     16if [ -f $Work_Path/install_func.sh ];then
     17  source $Work_Path/install_func.sh;
     18elif [ -f $Work_Path/bin/install_func.sh ];then
     19  source $Work_Path/bin/install_func.sh;
     20else
     21  echo "Import install-function-library error !!! ";
     22  exit 1;
     23fi
     24
     25if [ -f $Work_Path/lang_linl ];then
     26  source $Work_Path/lang_link;
     27elif [ -f $Work_Path/bin/lang_link ];then
     28  source $Work_Path/bin/lang_link;
     29else
     30  echo "Import Language-File error !!! ";
     31fi
    1732### real code #####
    1833
Note: See TracChangeset for help on using the changeset viewer.