aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-25 00:45:01 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-25 00:45:01 +0000
commit5374e80d67c788be35687001fb09c71777c8f0de (patch)
tree87c95481665d258a63c6733e24e85cc4d8251439 /trunk/lib
parent78994b520f895dc3d4eb21d59b10407befc0512d (diff)
downloadsimplepkg-5374e80d67c788be35687001fb09c71777c8f0de.tar.gz
simplepkg-5374e80d67c788be35687001fb09c71777c8f0de.tar.bz2
minor fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@775 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 78b8be8..555ecbc 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -853,7 +853,7 @@ function su_svn {
function chown_svn {
# set svn folder ownership
- if [ ! -z "$SVN_USER" ] && [ ! -e "$1" ]; then
+ if [ ! -z "$SVN_USER" ] && [ -e "$1" ]; then
chown -R $SVN_USER $1
fi
@@ -862,7 +862,7 @@ function chown_svn {
function chgrp_svn {
# set svn folder group
- if [ ! -z "$SVN_GROUP" ] && [ ! -e "$1" ]; then
+ if [ ! -z "$SVN_GROUP" ] && [ -e "$1" ]; then
chgrp -R $SVN_GROUP $1
fi