]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 03:32:39 +0000 (03:32 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 03:32:39 +0000 (03:32 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@583 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index bd2a2ea09ff999cdd5370923b06148931ec8dd44..70bc4d5f9890e37798393c67850cb110e51969bf 100644 (file)
@@ -578,10 +578,10 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then
       fi
     done
 
-    svn_remove_empty_folders . 
-
     cd $cwd
 
+    svn_remove_empty_folders . 
+
   else
     # Using -mindepth 2 so it doesn't delete the new package
     find $MAKEPKG_REPOS -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name "$PACKAGE-*-*-*.meta" -exec rm {} 2>/dev/null \;