Mail archive
alpine-devel

[alpine-devel] [PATCH] abuild: sourcecheck() wget -s is invalid

From: Ivan Tham <pickfire_at_riseup.net>
Date: Sun, 5 Mar 2017 14:48:00 +0800

---
 abuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/abuild.in b/abuild.in
index 22bd454..616cf62 100644
--- a/abuild.in
+++ b/abuild.in
_at_@ -297,7 +297,7 @@ sourcecheck() {
 			uri=${uri##*::}
 			;;
 		esac
-		wget -q -s "$uri" || return 1
+		curl -L -I -s -f -o /dev/null "$uri" || return 1
 	done
 	return 0
 }
-- 
2.11.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Mar 05 2017 - 14:48:00 GMT