diff --git a/frontEndUpgrade.sh b/frontEndUpgrade.sh index 25f5fdd..80777bb 100755 --- a/frontEndUpgrade.sh +++ b/frontEndUpgrade.sh @@ -53,15 +53,14 @@ function extractHere() { sleep 5 md5Sum=$(md5sum $fileName) md5Sum="${md5Sum% *}" - mkdir ${projectName} || true echo ${md5Sum} > ${projectName}/${preName}_md5.txt } function init(){ cd $workPath if [ ! -f "$fileName" ];then - echo "file $fileName not exist! make a block file now!" - echo "block" > $fileName + echo "file $fileName not exist!" + exit 0 fi if [ ! -d "$projectPath" ]; then echo "path $projectPath exist! "