From 35bec76b6371057746ac11ac25cffab75b8641db Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 12 Nov 2018 01:15:58 -0800 Subject: Fix installation of the license file ... for ct-ng configured without --enable-local. Also, install licenses in subdirectories of the components. Also, ct-ng configured with --enable-local removed the scripts directory upon `ct-ng distclean`. Also, misspelled CT_WGET/CT_CURL variables prevented use of `ct-ng updatetools`. Fixes #1091. Signed-off-by: Alexey Neyman --- scripts/scripts.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/scripts.mk') diff --git a/scripts/scripts.mk b/scripts/scripts.mk index d77f1a70..eeb8a50c 100644 --- a/scripts/scripts.mk +++ b/scripts/scripts.mk @@ -31,11 +31,11 @@ ifneq ($(strip $(V)),2) curl_silent_opt = --silent endif -ifneq ($(CT_wget),) -download_cmd = $(CT_wget) --passive-ftp $(wget_silent_opt) -O $@ +ifneq ($(CT_WGET),) +download_cmd = $(CT_WGET) --passive-ftp $(wget_silent_opt) -O $@ else -ifneq ($(CT_curl),) -download_cmd = $(CT_curl) --ftp-pasv $(curl_silent_opt) -o $@ +ifneq ($(CT_CURL),) +download_cmd = $(CT_CURL) --ftp-pasv $(curl_silent_opt) -o $@ else download_cmd = $(error wget or curl needed for downloads) endif -- cgit v1.2.3