Fix aborting when neither wget nor curl are present.
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
1 # Template file for a tool utility
3 # Put your download code here
4 do_tools_foobar_get() {
6 # CT_GetFile "foobar-${CT_FOOBAR_VERSION}" http://foobar.com/releases/
10 # Put your extract code here
11 do_tools_foobar_extract() {
13 # CT_ExtractAndPatch "foobar-${CT_FOOBAR_VERSION}"
17 # Put your build code here
18 do_tools_foobar_build() {
20 # mkdir -p "${CT_BUILD_DIR}/build-foobar"
21 # CT_Pushd "${CT_BUILD_DIR}/build-foobar"
23 # "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure" \
24 # --build=${CT_BUILD} \
25 # --host=${CT_TARGET} \
28 # CT_DoExecLog ALL make
29 # CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install