rebase
This commit is contained in:
parent
7b1e8a9fdc
commit
f3c6a91fe8
@ -53,15 +53,14 @@ function extractHere() {
|
|||||||
sleep 5
|
sleep 5
|
||||||
md5Sum=$(md5sum $fileName)
|
md5Sum=$(md5sum $fileName)
|
||||||
md5Sum="${md5Sum% *}"
|
md5Sum="${md5Sum% *}"
|
||||||
mkdir ${projectName} || true
|
|
||||||
echo ${md5Sum} > ${projectName}/${preName}_md5.txt
|
echo ${md5Sum} > ${projectName}/${preName}_md5.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
function init(){
|
function init(){
|
||||||
cd $workPath
|
cd $workPath
|
||||||
if [ ! -f "$fileName" ];then
|
if [ ! -f "$fileName" ];then
|
||||||
echo "file $fileName not exist! make a block file now!"
|
echo "file $fileName not exist!"
|
||||||
echo "block" > $fileName
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ ! -d "$projectPath" ]; then
|
if [ ! -d "$projectPath" ]; then
|
||||||
echo "path $projectPath exist! "
|
echo "path $projectPath exist! "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user