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.
pull/1/head mm_c850ed3c
Marek Marczykowski-Górecki 9 years ago
parent a95bf3a95f
commit c850ed3ca8

@ -24,4 +24,6 @@ rpmbuild --target noarch \
--define "_tmppath $PWD/rpmbuild/tmp" \
-bb templates.spec
[ -d appmenus-$$ ] && rm -rf appmenus-$$ appmenus
if [ -d appmenus-$$ ]; then
rm -rf appmenus-$$ appmenus
fi

Loading…
Cancel
Save