aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-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 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