Skip to content

Commit 49792b7

Browse files
committed
Follow redirects
1 parent a05593f commit 49792b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/install-wp-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ WP_CORE_FILE="$WP_CORE_DIR"/wp-settings.php
2323

2424
download() {
2525
if [ `which curl` ]; then
26-
curl -s "$1" > "$2";
26+
curl -L -s "$1" > "$2";
2727
elif [ `which wget` ]; then
2828
wget -nv -O "$2" "$1"
2929
else

0 commit comments

Comments
 (0)