quoting vars

ubuntu/trusty
Sergio Schvezov 12 years ago
parent 25df11b2a2
commit 26cee7d1a5

@ -10,10 +10,10 @@ apt-get install -y -qq curl
click_uri=http://people.canonical.com/~sergiusens/click_packages click_uri=http://people.canonical.com/~sergiusens/click_packages
click_list=$click_uri/click_list click_list=$click_uri/click_list
for package in $(curl $click_list) for package in $(curl "$click_list")
do do
echo "Setting up $package" echo "Setting up $package"
curl --silent --show-error --output $package $click_uri/$package curl --silent --show-error --output "$package" "$click_uri"/"$package"
click install --force-missing-framework $package click install --force-missing-framework "$package"
rm $package rm "$package"
done done

Loading…
Cancel
Save