From 93d1293d7d273544504d88cf25b419bb275aaff8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 17 Sep 2003 14:11:06 +0000 Subject: fixed bug caused by lack of path for du svn path=/trunk/; revision=990 --- packages/darwin_pkg/mkdmg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/darwin_pkg') 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"` -- cgit v1.2.1