diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-03 00:04:57 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-03 00:04:57 +0000 |
commit | 4b00b295e161b851ba650010eff1c771d5eb5b94 (patch) | |
tree | 4b42247e9e8d621ac2da4eadc7d2dfecda30c466 /trunk | |
parent | fe9a92e6c42897e36884a3c4b5232ee835549370 (diff) | |
download | simplepkg-4b00b295e161b851ba650010eff1c771d5eb5b94.tar.gz simplepkg-4b00b295e161b851ba650010eff1c771d5eb5b94.tar.bz2 |
trying again to fix commit_changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@627 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r-- | trunk/lib/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 7d556fb..1bafb42 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -716,9 +716,9 @@ function commit_changes { chown_svn $repos && chgrp_svn $repos cd $repos if [ ! -z "$1" ]; then - if tmpfile=`mktemp -t simplepkg_commit.XXXXXX`; then - chown_svn $tmpfile && chgrp_svn $tmpfile + if tmpfile=`mktemp $TMP/simplepkg_commit.XXXXXX`; then echo $* > $tmpfile + chown_svn $tmpfile && chgrp_svn $tmpfile su_svn commit -F $tmpfile rm -f $tmpfile else |