[build setup] Add -L to curl invocations
To follow redirects, otherwise we might be downloading 301 HTML pages instead of the data we want.
This commit is contained in:
parent
e5647c4f83
commit
71786e50cf
@ -190,12 +190,12 @@ if [ -e $HOME/.jhbuildrc ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Writing ~/.jhbuildrc ... "
|
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"
|
echo "done"
|
||||||
|
|
||||||
if [ ! -f $HOME/.jhbuildrc-custom ]; then
|
if [ ! -f $HOME/.jhbuildrc-custom ]; then
|
||||||
echo -n "Writing example ~/.jhbuildrc-custom ... "
|
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"
|
echo "done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user