summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-04 14:35:25 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-04 14:35:25 (GMT)
commit7593ffbf36d682d1358722ca16c939366bf620cb (patch)
treed3fb7be391b300d85a2c44d11aca1c1176e7f10b /scripts
parentba9fe0dec8a8f09b0ff37f1b83d54df984f228a9 (diff)
Fix aborting when neither wget nor curl are present.
/trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
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 <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