VirtualBox

Changeset 20527 in vbox for trunk/src


Ignore:
Timestamp:
Jun 13, 2009 8:20:21 PM (16 years ago)
Author:
vboxsync
Message:

darwin/load.sh: nfs fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/load.sh

    r18182 r20527  
    117117# On smbfs, this might succeed just fine but make no actual changes,
    118118# so we might have to temporarily copy the driver to a local directory.
    119 sudo chown -R root:wheel "$DIR"
    120 OWNER=`/usr/bin/stat -f "%u" "$DIR"`
     119if sudo chown -R root:wheel "$DIR"; then
     120    OWNER=`/usr/bin/stat -f "%u" "$DIR"`
     121else
     122    OWNER=1000
     123fi
    121124if test "$OWNER" -ne 0; then
    122125    TMP_DIR=/tmp/loaddrv.tmp
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