~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-devel] [PATCH] abuild: trivial update to new saveas-*:// support

Details
Message ID
<1293828416-6786-1-git-send-email-mcs@darkregion.net>
Sender timestamp
1293828416
DKIM signature
missing
Download raw message
Patch: +5 -5
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
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20110103144507.5d7d17a8@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1293828416-6786-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1294062307
DKIM signature
missing
Download raw message
On Fri, 31 Dec 2010 14:46:56 -0600
Matt Smith <mcs@darkregion.net> wrote:

> 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(-)

Applied. Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)