~alpine/devel

1

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

Ivan Tham
Details
Message ID
<20170305064800.9633-1-pickfire@riseup.net>
Sender timestamp
1488696480
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 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:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
scsijon
Details
Message ID
<e12dcb76-4e4d-c032-9c10-70e709145e52@lamiaworks.com.au>
In-Reply-To
<20170305064800.9633-1-pickfire@riseup.net> (view parent)
Sender timestamp
1488771603
DKIM signature
missing
Download raw message
UM, I thought -s was spider (shortform)?

On 03/05/2017 05:48 PM, Ivan Tham wrote:
> ---
>  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
>  }
>


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---