this command might fail in leopard (it's needed for snow-leopard) so avoid existing if that happens

git-svn-id: http://google-refine.googlecode.com/svn/trunk@411 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-07 18:40:50 +00:00
parent 4626f88836
commit f816a288af

View File

@ -411,7 +411,7 @@ mac_dist() {
sync
sync
hdiutil detach $DEVICE || error "Error while detaching $DEVICE"
hdiutil detach $DEVICE
if [ -f "$GRIDWORKS_DIST_DIR/gridworks-$VERSION-$REVISION.dmg" ] ; then
rm "$GRIDWORKS_DIST_DIR/gridworks-$VERSION-$REVISION.dmg"