sed命令修改时不要在原文件上面改,以防止编译过程中中断后原工程文件不能复原
This commit is contained in:
parent
53d8e6c8ad
commit
37354934cc
2
build.sh
2
build.sh
|
@ -87,7 +87,7 @@ if [ "${1}" == "hw" ]; then
|
|||
sed -i "s/HGImgProc/HwImgProc/g" HGScannerTmp.pro
|
||||
sed -i "s/logo.ico/Hanvon_logo1.ico/g" HGScannerTmp.pro
|
||||
elif [ "${1}" == "lsc" ]; then
|
||||
sed -ibkp "s/OEM_HUAGAO/OEM_LISICHENG/g" HGScannerTmp.pro
|
||||
sed -i "s/OEM_HUAGAO/OEM_LISICHENG/g" HGScannerTmp.pro
|
||||
sed -i "s/hgsane/lscsane/g" HGScannerTmp.pro
|
||||
sed -i "s/hgdriver/lscdriver/g" HGScannerTmp.pro
|
||||
sed -i "s/HGScanner/LscScanner/g" HGScannerTmp.pro
|
||||
|
|
Loading…
Reference in New Issue