Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=650c02656928d2de288c0c67159c7c424e5ace31

commit 650c02656928d2de288c0c67159c7c424e5ace31
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun Oct 14 01:19:45 2007 +0200

repoman: create tmp files in ~
this is necessary in case /tmp is smaller than the fpm to be uploaded
thanks crazy for reporting this bug

diff --git a/repoman b/repoman
index 4878460..25703c4 100755
--- a/repoman
+++ b/repoman
@@ -113,7 +113,7 @@ upload()
do
name=`basename $src`
msg "Requesting a temporary file"
-               tmp=`ssh $host mktemp 2>/dev/null`
+               tmp=`ssh $host mktemp -p ~ 2>/dev/null`
msg "Uploading file: $src (to $tmp)"
scp $src $host:$tmp
if echo "`sha1sum $src|sed 's/\(.*\)  .*/\1/'`  $tmp" |ssh $host sha1sum -c - 
>/dev/null 2>&1; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to