diff options
Diffstat (limited to 'tests/sampledata.sh')
-rwxr-xr-x | tests/sampledata.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sampledata.sh b/tests/sampledata.sh index 610f5e6..9296dab 100755 --- a/tests/sampledata.sh +++ b/tests/sampledata.sh @@ -8,11 +8,11 @@ LOWE=${CCSDS_DATA}/LowEntropyOptions archive=121B2TestData.zip archive_url=http://cwe.ccsds.org/sls/docs/SLS-DC/BB121B2TestData/$archive if [ ! -f $archive ]; then - type wget >/dev/null 2>&1 || { - echo >&2 "wget not found. Please download $archive_url by other means and place it in tests.\nAborting." + type curl >/dev/null 2>&1 || { + echo >&2 "curl not found. Please download $archive_url by other means and place it in tests.\nAborting." exit 1 } - wget $archive_url || { + curl $archive_url -O || { echo >&2 "Could not download $archive_url. Please download $archive by other means and place it in tests. Aborting." exit 1 } |