mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
Script to check redirects
This commit is contained in:
parent
161b15f9e4
commit
aef166e300
1 changed files with 24 additions and 0 deletions
24
bin/check_redirect.sh
Executable file
24
bin/check_redirect.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
urls=(
|
||||||
|
"http://geth.ethereum.org"
|
||||||
|
"https://geth.ethereum.org"
|
||||||
|
"http://geth.ethereum.org/"
|
||||||
|
"https://geth.ethereum.org/"
|
||||||
|
"http://geth.ethereum.org/install"
|
||||||
|
"https://geth.ethereum.org/install"
|
||||||
|
"http://geth.ethereum.org/install/"
|
||||||
|
"https://geth.ethereum.org/install/"
|
||||||
|
"http://ethereum.github.io/go-ethereum"
|
||||||
|
"https://ethereum.github.io/go-ethereum"
|
||||||
|
"http://ethereum.github.io/go-ethereum/"
|
||||||
|
"https://ethereum.github.io/go-ethereum/"
|
||||||
|
"http://ethereum.github.io/go-ethereum/install"
|
||||||
|
"https://ethereum.github.io/go-ethereum/install"
|
||||||
|
"http://ethereum.github.io/go-ethereum/install/"
|
||||||
|
"https://ethereum.github.io/go-ethereum/install/"
|
||||||
|
)
|
||||||
|
for u in "${urls[@]}"
|
||||||
|
do
|
||||||
|
echo "$u -> $(curl $u -w --silent -I 2>&1 | grep Location)"
|
||||||
|
done
|
||||||
Loading…
Reference in a new issue