From 4b00b295e161b851ba650010eff1c771d5eb5b94 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 3 Dec 2008 00:04:57 +0000 Subject: trying again to fix commit_changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@627 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trunk/lib') 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 -- cgit v1.2.3