aboutsummaryrefslogtreecommitdiff
path: root/tools/PackageMaker
diff options
context:
space:
mode:
authordavilla <davilla@svn>2009-11-30 02:00:12 +0000
committerdavilla <davilla@svn>2009-11-30 02:00:12 +0000
commit9352246b02971de43013f8c686e538bcfcca5348 (patch)
tree08563b574850ac41aee1f6327df6dc9b9c91b4dc /tools/PackageMaker
parentddcd056e0a88bec9bf41ffb02603a442b93b19b7 (diff)
[osx] check presence before attempting umount
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25120 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/PackageMaker')
-rw-r--r--tools/PackageMaker/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/PackageMaker/Makefile b/tools/PackageMaker/Makefile
index d0a0b0f639..40e94b3b94 100644
--- a/tools/PackageMaker/Makefile
+++ b/tools/PackageMaker/Makefile
@@ -9,11 +9,10 @@ $(TARGET): dist/XBMC.dmg
ifeq ($(findstring D_DEBUG,$(CFLAGS)), D_DEBUG)
dist/XBMC.dmg:
- umount /Volumes/XBMC
+ if [ -e "/Volumes/XBMC" ] ; then umount /Volumes/XBMC ; fi
./dmgmaker.pl ../../build/Debug/XBMC.app
else
dist/XBMC.dmg:
- umount /Volumes/XBMC
+ if [ -e "/Volumes/XBMC" ] ; then umount /Volumes/XBMC ; fi
./dmgmaker.pl ../../build/Release/XBMC.app
endif
-