aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/darwin_pkg/mkdmg2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/darwin_pkg/mkdmg b/packages/darwin_pkg/mkdmg
index 2c8bccb2..c11d1987 100755
--- a/packages/darwin_pkg/mkdmg
+++ b/packages/darwin_pkg/mkdmg
@@ -19,7 +19,7 @@ echo $FOLDER does not exist
exit 2
fi
-SIZE=`du -s "$FOLDER" | awk '{ print $1 }'`
+SIZE=`/usr/bin/du -s "$FOLDER" | awk '{ print $1 }'`
# allow space for partition map and directory structure
SIZE=`echo 1024 + $SIZE \* 1.1 / 1 | bc`
NAME=`basename "$FOLDER"`