Fix aborting when neither wget nor curl are present.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 04 14:35:25 2009 +0000 (2009-01-04)
changeset 1120ba7f344ed57f
parent 1119 4e7562023f3e
child 1121 4b7ed9da5a21
Fix aborting when neither wget nor curl are present.

/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
scripts/functions
     1.1 --- a/scripts/functions	Sun Jan 04 14:25:58 2009 +0000
     1.2 +++ b/scripts/functions	Sun Jan 04 14:35:25 2009 +0000
     1.3 @@ -427,7 +427,7 @@
     1.4  # Usage: CT_DoGetFile <URL>
     1.5  CT_DoGetFile() {
     1.6      case "${_wget},${_curl}" in
     1.7 -        ,)  CT_DoError "Could find neither wget nor curl";;
     1.8 +        ,)  CT_Abort "Could find neither wget nor curl";;
     1.9          ,*) CT_DoExecLog ALL CT_DoGetFileCurl "$1" 2>&1;;
    1.10          *)  CT_DoExecLog ALL CT_DoGetFileWget "$1" 2>&1;;
    1.11      esac