[Frugalware-git] pacman-tools: repoman: typo fix in upload()

Miklos Vajna vmiklos at frugalware.org
Sat Nov 10 00:20:53 CET 2007


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

commit 250627fdb74cfdd483c113e42ec0c85c27531ce6
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sat Nov 10 00:20:48 2007 +0100

repoman: typo fix in upload()

diff --git a/repoman b/repoman
index 3bc205d..764240e 100755
--- a/repoman
+++ b/repoman
@@ -122,7 +122,7 @@ upload()
name=`basename $src`
msg "Requesting a temporary file"
tmp=`ssh $host $mktemp_remote 2>/dev/null`
-		if [ -z "$temp" ]; then
+		if [ -z "$tmp" ]; then
echo "Failed to get a temporary file :-/"
exit 1
fi


More information about the Frugalware-git mailing list