Remove the old dmg before trying to make a new one.

Originally committed to SVN as r2564.
This commit is contained in:
Amar Takhar 2008-12-30 06:42:06 +00:00
parent 489405da98
commit 12ba64ffb2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if ! test -d "${PKG_DIR}"; then
exit 1;
fi
rm -rf ${TMP_DMG}
rm -rf ${TMP_DMG} "${PKG_NAME}.dmg"
mkdir -v ${TMP_DMG}
echo
echo "---- Copying ${1} into ${TMP_DMG}/ ----"