diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 01:33:00 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 01:33:00 +0000 |
commit | 861e6e15b6b2e07faa7ffe7d7b4cd2c10a1debd8 (patch) | |
tree | 7370fc105ed156a05cfd2400dbbded3857d97dad /trunk/lib | |
parent | 90f62989c1444d9dd028137d45aadf84307eebf8 (diff) | |
download | simplepkg-861e6e15b6b2e07faa7ffe7d7b4cd2c10a1debd8.tar.gz simplepkg-861e6e15b6b2e07faa7ffe7d7b4cd2c10a1debd8.tar.bz2 |
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@575 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r-- | trunk/lib/common.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index d39133d..df42332 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -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 } |