diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 02:22:22 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 02:22:22 +0000 |
commit | ec50a8b4e845f5acdf830e0c878b78351e9f2769 (patch) | |
tree | bc641dc13c0394096d3b3c53ece38e48085290ab | |
parent | d1c36d73a8a96e17c0d1c03182c6d9a88c2fddfe (diff) | |
download | simplepkg-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.sh | 2 |
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 |