From f816a288afd586a1e3d1e59317a70671988b334c Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Wed, 7 Apr 2010 18:40:50 +0000 Subject: [PATCH] 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 --- gridworks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gridworks b/gridworks index 305f5c86e..2f17ce1f2 100755 --- a/gridworks +++ b/gridworks @@ -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"