DEVEL15-macos-buildpkg-cleanup-cruft-20071123
[openafs.git] / src / packaging / MacOS / buildpkg.sh.in
index 9c1e272..4c9cd50 100644 (file)
@@ -239,7 +239,7 @@ if [ $secondpass = yes ]; then
     rm -rf $PKGROOT $PKGRES
     mkdir $CURDIR/dmg
     mv $CURDIR/OpenAFS.pkg $CURDIR/dmg
-    rm -rf $CURDIR/OpenAFS.dmg
+    rm -rf $CURDIR/OpenAFS-@VERSION@-$RELNAME.dmg
     cp Uninstall $CURDIR/dmg/Uninstall.command
     cp DS_Store $CURDIR/dmg/.DS_Store
     mkdir $CURDIR/dmg/.background