diff options
author | Christian Poessinger <christian@poessinger.com> | 2017-12-22 18:05:39 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2017-12-22 18:06:24 +0100 |
commit | 48b0890a8b97ca6b0013b8e53eca3e5d75968380 (patch) | |
tree | b241325c22c83187d47324a15e5f5e57e4f8d2c5 /scripts | |
parent | fa9d8506c54edac29a290eab026740d06e234630 (diff) | |
download | vyatta-config-mgmt-lithium.tar.gz vyatta-config-mgmt-lithium.zip |
T504: Switch off cURL "URL globbing parser"lithium
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-commit-push.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl index 1398533..17332d0 100755 --- a/scripts/vyatta-commit-push.pl +++ b/scripts/vyatta-commit-push.pl @@ -86,7 +86,7 @@ foreach my $uri (@uris) { my $rc = 0; if ($scheme =~ /^(scp|sftp)$/ ){ - $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file"; + $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file"; $rc = system($cmd); if( $rc >> 8 == 51 ){ my $rsa_key = `ssh-keyscan -t rsa $host 2>/dev/null`; @@ -100,7 +100,7 @@ foreach my $uri (@uris) { or die "Cannot open known_hosts: $!"; print $known_hosts "$rsa_key\n"; close($known_hosts); - $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file"; + $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file"; $rc = system($cmd); print "\n"; } |