X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp131.iad.emailsrvr.com (smtp131.iad.emailsrvr.com [207.97.245.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 3D3421EBFEE for ; Fri, 31 Dec 2010 20:46:59 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp43.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 0A1D72D10F5; Fri, 31 Dec 2010 15:46:59 -0500 (EST) X-Virus-Scanned: OK Received: by smtp43.relay.iad1a.emailsrvr.com (Authenticated sender: mcs-AT-darkregion.net) with ESMTPSA id 2547C2D08D1; Fri, 31 Dec 2010 15:46:57 -0500 (EST) From: Matt Smith To: alpine-devel@lists.alpinelinux.org Cc: Matt Smith Subject: [alpine-devel] [PATCH] abuild: trivial update to new saveas-*:// support Date: Fri, 31 Dec 2010 14:46:56 -0600 Message-Id: <1293828416-6786-1-git-send-email-mcs@darkregion.net> X-Mailer: git-send-email 1.7.3.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Removed the asterisk from the beginning of the https check, and moved the saveas- check above. --- abuild.in | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/abuild.in b/abuild.in index ec40612..bbfbf98 100755 --- a/abuild.in +++ b/abuild.in @@ -177,17 +177,17 @@ uri_fetch() { [ -n "$quiet" ] && opts="-q" [ -f "$SRCDEST/$d" ] && return 0 - # we need GNU wget for this - case "$uri" in - *https://*) opts="--no-check-certificate";; - esac - # fix saveas-*://* URIs case "$uri" in # remove 'saveas-' from beginning and # '/filename' from end of URI saveas-*://*) uri="${uri:7:$(expr ${#uri} - 7 - ${#d} - 1)}";; esac + + # we need GNU wget for this + case "$uri" in + https://*) opts="--no-check-certificate";; + esac mkdir -p "$SRCDEST" if [ -f "$SRCDEST/$d.part" ]; then -- 1.7.3.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---