]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fix at jail-commit
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 3 Dec 2008 03:55:53 +0000 (03:55 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 3 Dec 2008 03:55:53 +0000 (03:55 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@632 04377dda-e619-0410-9926-eae83683ac58

trunk/src/jail-commit

index f1a1c9cfa51c8c710e8294e684cac537496d26b6..278d766740c606d744c3abc6a22fbbb4805ef0cd 100755 (executable)
@@ -87,8 +87,8 @@ function template_merge {
   cat $TEMPLATE_BASE.perms.tmp | sed '/^$/d' > $TEMPLATE_BASE.perms
   rm -f $TEMPLATE_BASE.perms.tmp
 
-  if ! svn_check $TEMPLATE_BASE,perms; then
-    svn add $TEMPLATE_BASE,perms
+  if templates_under_svn && ! svn_check $TEMPLATE_BASE.perms; then
+    svn add $TEMPLATE_BASE.perms
   fi
 
 }