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

trunk/lib/common.sh

index c5fd2e790db737202addf47eedd27b376feb4f42..b7c1a2e8612779192d96cb4105e0befd61ea9ad7 100644 (file)
@@ -589,7 +589,7 @@ function svn_del {
     chown_svn $file && chgrp_svn $file
     ( cd $folder && su_svn del --force `basename $file` )
   else
-    rm -rf $file
+    ( cd $folder && rm -rf `basename $file` )
   fi
 
 }