1
0
Fork 0

we only add the megabytes to calls to 'create'

This commit is contained in:
Wilfried Goesgens 2017-05-05 13:40:44 +02:00
parent ed71952418
commit dc90ae3c61
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
#!/bin/bash #!/bin/bash
verb="$1" verb=$1
shift shift
if test "$verb" == "create"; then
@HDIUTIL_EXECUTABLE@ $verb -megabytes @CMAKE_DMG_SIZE@ $@ @HDIUTIL_EXECUTABLE@ $verb -megabytes @CMAKE_DMG_SIZE@ $@
else
@HDIUTIL_EXECUTABLE@ $verb $@
fi