_build/generate-badge.sh: Use curl instead of wget
After playing around a little bit with a Ubuntu 12.04 LTS virtual machine, `curl` came in my mind... I've absolutetly no idea why `curl` works, but `wget` does not (it's an issue with OpenSSL and both use it the same way...), but anyway - it works
This commit is contained in:
parent
0f85f85367
commit
10495c2ce5
@ -32,7 +32,7 @@ echo
|
|||||||
printf 'Downloading badge...\n'
|
printf 'Downloading badge...\n'
|
||||||
TMP_BADGE="$(mktemp -u)"
|
TMP_BADGE="$(mktemp -u)"
|
||||||
|
|
||||||
wget -O "$TMP_BADGE" \
|
curl --location --output "$TMP_BADGE" \
|
||||||
"https://img.shields.io/badge/$BADGE_SUBJECT-$BADGE_STATUS-$BADGE_COLOR.svg"
|
"https://img.shields.io/badge/$BADGE_SUBJECT-$BADGE_STATUS-$BADGE_COLOR.svg"
|
||||||
|
|
||||||
# validate badge
|
# validate badge
|
||||||
|
Loading…
x
Reference in New Issue
Block a user