Do not fail in case of no directory to cleanup
There is "set -e", so previous version fails when there is no directory to cleanup.
This commit is contained in:
parent
a95bf3a95f
commit
c850ed3ca8
@ -24,4 +24,6 @@ rpmbuild --target noarch \
|
|||||||
--define "_tmppath $PWD/rpmbuild/tmp" \
|
--define "_tmppath $PWD/rpmbuild/tmp" \
|
||||||
-bb templates.spec
|
-bb templates.spec
|
||||||
|
|
||||||
[ -d appmenus-$$ ] && rm -rf appmenus-$$ appmenus
|
if [ -d appmenus-$$ ]; then
|
||||||
|
rm -rf appmenus-$$ appmenus
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user