diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-17 14:11:06 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-17 14:11:06 +0000 |
commit | 93d1293d7d273544504d88cf25b419bb275aaff8 (patch) | |
tree | 07f0a473afa19a4b83ed93f55c5494a0e530d630 /packages | |
parent | e79a1e91d1eceec887fc7213831e130e918daed3 (diff) |
fixed bug caused by lack of path for du
svn path=/trunk/; revision=990
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/darwin_pkg/mkdmg | 2 |
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"` |