diff options
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 } |