This commit is contained in:
zhangkun9038@dingtalk.com 2023-03-01 22:32:31 +08:00
parent 7b1e8a9fdc
commit f3c6a91fe8

View File

@ -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! "