Fix aborting when neither wget nor curl are present.

/trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Yann E. MORIN" 2009-01-04 14:35:25 +00:00
parent ba9fe0dec8
commit 7593ffbf36

View File

@ -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