diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-04 14:35:25 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-04 14:35:25 +0000 |
commit | 7593ffbf36d682d1358722ca16c939366bf620cb (patch) | |
tree | d3fb7be391b300d85a2c44d11aca1c1176e7f10b /scripts/functions | |
parent | ba9fe0dec8a8f09b0ff37f1b83d54df984f228a9 (diff) | |
download | crosstool-ng-7593ffbf36d682d1358722ca16c939366bf620cb.tar.gz crosstool-ng-7593ffbf36d682d1358722ca16c939366bf620cb.tar.bz2 crosstool-ng-7593ffbf36d682d1358722ca16c939366bf620cb.zip |
Fix aborting when neither wget nor curl are present.
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 5c3f760d..d6becebd 100644 --- a/scripts/functions +++ b/scripts/functions @@ -427,7 +427,7 @@ _curl=$(CT_Which curl) # Usage: CT_DoGetFile <URL> CT_DoGetFile() { case "${_wget},${_curl}" in - ,) CT_DoError "Could find neither wget nor curl";; + ,) CT_Abort "Could find neither wget nor curl";; ,*) CT_DoExecLog ALL CT_DoGetFileCurl "$1" 2>&1;; *) CT_DoExecLog ALL CT_DoGetFileWget "$1" 2>&1;; esac |