]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
trying again to fix commit_changes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 3 Dec 2008 00:06:30 +0000 (00:06 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 3 Dec 2008 00:06:30 +0000 (00:06 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@628 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index 1bafb42c3dbde78c29a1137cac065b77a4231538..4f61c46ca306989da3cf5c06ff4528cac83ebcf5 100644 (file)
@@ -718,7 +718,7 @@ function commit_changes {
     if [ ! -z "$1" ]; then
       if tmpfile=`mktemp $TMP/simplepkg_commit.XXXXXX`; then
         echo $* > $tmpfile
-        chown_svn $tmpfile && chgrp_svn $tmpfile
+        chmod +r $tmpfile
         su_svn commit -F $tmpfile
         rm -f $tmpfile
       else