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

From: Ivan Tham <[email-masked]>
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
@@ -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:  [email-masked]
Help:         [email-masked]
---