diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-27 22:27:35 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-27 22:27:35 (GMT) |
commit | c7d780e6c56cf13d5fa74cf8f43acd3f3d8f28f0 (patch) | |
tree | e1fe211ceff2091effaea879f9af940cf7ddba50 /scripts/functions | |
parent | 2641a444819cf744ecb7f8faf8fe667f95ba4273 (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(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
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 |