From 678819fce42e8b58727fc9b107e30867a4d19e02 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 2 Nov 2013 06:32:18 +0100 Subject: Fix some shell quoting weirdness (curl dumped the ISO on stdout) --- scripts/install/install-image | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install/install-image b/scripts/install/install-image index aa423f73..147706e7 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -64,10 +64,9 @@ fetch_iso_by_url () # This is for statistics collection vyos_version=`dpkg-query --showformat='${Version}' --show vyatta-version` - user_agent="-H \"User-Agent: VyOS/$vyos_version\"" filename="${TEMP_DIR}/${NEW_ISO##*/}" - curl $user_agent $auth -f -o $filename $NEW_ISO + curl -H "User-Agent: VyOS/$vyos_version" $auth -f -o $filename $NEW_ISO curlerror=$? if [ $curlerror -eq 51 ]; then host=${NEW_ISO##scp://} -- cgit v1.2.3