[gnome-shell] [build setup] Add -L to curl invocations



commit 71786e50cf5011fbd1c3cb37611d1b59f73437fa
Author: Colin Walters <walters verbum org>
Date:   Wed Jan 6 13:56:19 2010 -0500

    [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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh
index 1c93d00..5b570ea 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]