diff options
author | Daniil Baturin <daniil@baturin.org> | 2013-11-02 06:32:18 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2013-11-02 06:32:18 +0100 |
commit | 678819fce42e8b58727fc9b107e30867a4d19e02 (patch) | |
tree | a1fceb14c7b05398d042e458891d27e4ded5fa6f /scripts | |
parent | a5cf391520d6128e4feab5e8326ce68055b9ee99 (diff) | |
download | vyatta-cfg-system-678819fce42e8b58727fc9b107e30867a4d19e02.tar.gz vyatta-cfg-system-678819fce42e8b58727fc9b107e30867a4d19e02.zip |
Fix some shell quoting weirdness (curl dumped the ISO on stdout)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-image | 3 |
1 files changed, 1 insertions, 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://} |