# HG changeset patch # User Rob Landley # Date 1265161031 21600 # Node ID bcab030a239486fea71636a835b0764164019811 # Parent edf9264f2d263a3d463b504090f035a3ed385286 Fix thinko in download_from. diff -r edf9264f2d26 -r bcab030a2394 sources/functions.sh --- a/sources/functions.sh Tue Feb 02 04:46:07 2010 -0600 +++ b/sources/functions.sh Tue Feb 02 19:37:11 2010 -0600 @@ -314,7 +314,7 @@ # If we have another source, try to download file from there. - [ -n "$1" ] && return 1 + [ -z "$1" ] && return 1 wget -t 2 -T 20 -O "$SRCDIR/$FILENAME" "$1" || (rm "$SRCDIR/$FILENAME"; return 2) touch -c "$SRCDIR/$FILENAME"