clean after ourself.
authorLove Hörnquist Åstrand <lha@kth.se>
Wed, 15 Nov 2006 12:10:11 +0000 (12:10 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Wed, 15 Nov 2006 12:10:11 +0000 (12:10 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19053 ec53bebd-3082-4978-b11e-865c3cabbd6b

packages/mac/mac.sh

index 526efa88a4ff725adb2175d8bebba77e0c05bc93..ce2783ddb97a10f3477556ede650e37e91eff744 100644 (file)
@@ -39,7 +39,9 @@ sed -e $replace < ${base}/Info.plist.in > ./Info.plist
     -r ${base}/Resources \
     -i ./Info.plist || exit 1
 
-cd $base
+cd ..
 /usr/bin/hdiutil create -volname "Heimdal-${version}" -srcfolder ${imgdir} "heimdal-${version}.dmg" || exit 1
 
+rm -rf ${destdir} ${builddir} ${imgdir} || exit 1
+
 exit 0