From 71786e50cf5011fbd1c3cb37611d1b59f73437fa Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 6 Jan 2010 13:56:19 -0500 Subject: [PATCH] [build setup] Add -L to curl invocations To follow redirects, otherwise we might be downloading 301 HTML pages instead of the data we want. --- tools/build/gnome-shell-build-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index 1c93d0066..5b570eaee 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -190,12 +190,12 @@ if [ -e $HOME/.jhbuildrc ] ; then fi echo -n "Writing ~/.jhbuildrc ... " -curl -s -o $HOME/.jhbuildrc $BASEURL/jhbuildrc-gnome-shell +curl -L -s -o $HOME/.jhbuildrc $BASEURL/jhbuildrc-gnome-shell echo "done" if [ ! -f $HOME/.jhbuildrc-custom ]; then echo -n "Writing example ~/.jhbuildrc-custom ... " - curl -s -o $HOME/.jhbuildrc-custom $BASEURL/jhbuildrc-custom-example + curl -L -s -o $HOME/.jhbuildrc-custom $BASEURL/jhbuildrc-custom-example echo "done" fi