summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-27 22:27:35 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-27 22:27:35 (GMT)
commitc7d780e6c56cf13d5fa74cf8f43acd3f3d8f28f0 (patch)
treee1fe211ceff2091effaea879f9af940cf7ddba50
parent2641a444819cf744ecb7f8faf8fe667f95ba4273 (diff)
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(-)
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
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 <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