恢复项目文件前,先判断是否存在

This commit is contained in:
gb 2022-05-17 15:56:16 +08:00
parent 366b886bfc
commit c49ba0283f
1 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,9 @@ rm -f *.h
rm -f *.cpp rm -f *.cpp
rm -f .qmake.stash rm -f .qmake.stash
rm -f Makefile rm -f Makefile
mv HGScanner.probkp HGScanner.pro if [ -f HGScanner.probkp ]; then
mv HGScanner.probkp HGScanner.pro
fi