aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 02:22:22 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 02:22:22 +0000
commitec50a8b4e845f5acdf830e0c878b78351e9f2769 (patch)
treebc641dc13c0394096d3b3c53ece38e48085290ab
parentd1c36d73a8a96e17c0d1c03182c6d9a88c2fddfe (diff)
downloadsimplepkg-ec50a8b4e845f5acdf830e0c878b78351e9f2769.tar.gz
simplepkg-ec50a8b4e845f5acdf830e0c878b78351e9f2769.tar.bz2
minor fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@540 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index c542e19..1ce8381 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -572,7 +572,7 @@ function sync_repo {
function svn_add {
- if ! svn_check $1; then
+ if [ -d "`dirname $1`/.svn" ] && ! svn_check $1; then
cwd="`pwd`"
cd `dirname $1` && svn add $1
cd $cwd