]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 01:33:00 +0000 (01:33 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 01:33:00 +0000 (01:33 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@575 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index d39133d8f2e621b61c8abb52afb2fa59a56f4ac5..df423323f121b24b8ec13d4cddf1d541cc6c2f50 100644 (file)
@@ -598,7 +598,9 @@ function svn_copy {
   cp $orig/$file $dest
   if [ -d "`dirname $dest`/.svn" ]; then
     chown_svn $dest && chgrp_svn $dest
-    svn_add $dest
+    cwd="`pwd`"
+    cd `dirname $dest`
+    svn_add `basename $dest`
   fi
 
 }