devops: fix clean script to keep going if there's no OBJ- folder
This commit is contained in:
parent
d092c63301
commit
254a464828
|
|
@ -6,7 +6,7 @@ trap "cd $(pwd -P)" EXIT
|
|||
cd "$(dirname $0)"
|
||||
cd "checkout"
|
||||
|
||||
OBJ_FOLDER=$(ls -1 | grep obj-)
|
||||
OBJ_FOLDER=$(ls -1 | grep obj- || true)
|
||||
if [[ -d $OBJ_FOLDER ]]; then
|
||||
rm -rf $OBJ_FOLDER
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue