VirtualBox

Changeset 73850 in vbox for trunk


Ignore:
Timestamp:
Aug 22, 2018 10:13:47 PM (6 years ago)
Author:
vboxsync
Message:

Installer/darwin: du "-s" flag (summary) is the same as "-d 0" (depth)
but is much widely known, so use the common "du -sk" idiom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r73822 r73850  
    156156        @# Create the image. We calculate the size our selves, adding 16MB for fudging (min 13MB fudge needed on high sierra).
    157157        sudo hdiutil create -format UDBZ -volname "VirtualBox" -srcfolder "$(VBOX_PATH_PACK_TMP)/DiskImage" \
    158                 -size $(DOLLAR)((`sudo /usr/bin/du -d 0 -k "$(VBOX_PATH_PACK_TMP)/DiskImage/" | /usr/bin/cut -f1` + 16384))k \
     158                -size $(DOLLAR)((`sudo /usr/bin/du -sk "$(VBOX_PATH_PACK_TMP)/DiskImage/" | /usr/bin/cut -f1` + 16384))k \
    159159                "$@"
    160160        @# Change (back) the owner so it can be deleted by the user.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette