From 7593ffbf36d682d1358722ca16c939366bf620cb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 4 Jan 2009 14:35:25 +0000 Subject: Fix aborting when neither wget nor curl are present. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions b/scripts/functions index 5c3f760..d6beceb 100644 --- a/scripts/functions +++ b/scripts/functions @@ -427,7 +427,7 @@ _curl=$(CT_Which curl) # Usage: CT_DoGetFile 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 -- cgit v0.10.2-6-g49f6