From c7d780e6c56cf13d5fa74cf8f43acd3f3d8f28f0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 27 Jan 2009 22:27:35 +0000 Subject: Backport #1288 from /trunk: - Fix aborting when neither wget nor curl are present /branches/1.3/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions b/scripts/functions index a96f245..8cae85e 100644 --- a/scripts/functions +++ b/scripts/functions @@ -426,7 +426,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