From e952728bb3880381c7915b1c6ad23b6201d2de2b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 21 Mar 2021 00:17:45 +0100 Subject: [PATCH] - helpers: fix DOWNLOAD macro --- make/buildsystem-helpers.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/buildsystem-helpers.mk b/make/buildsystem-helpers.mk index 5e3ef308..c236df1e 100644 --- a/make/buildsystem-helpers.mk +++ b/make/buildsystem-helpers.mk @@ -19,10 +19,10 @@ download = $(GET_ARCHIVE) $(DL_DIR) define DOWNLOAD $(foreach hook,$($(PKG)_PRE_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) $(Q)( \ - if [ "$($(PKG)_VER)" == "git" ]; then \ + if [ "$($(PKG)_VERSION)" == "git" ]; then \ $(call MESSAGE,"Downloading") ; \ $(GET_GIT_SOURCE) $($(PKG)_SITE)/$($(PKG)_SOURCE) $(DL_DIR)/$($(PKG)_SOURCE); \ - elif [ "$($(PKG)_VER)" == "svn" ]; then \ + elif [ "$($(PKG)_VERSION)" == "svn" ]; then \ $(call MESSAGE,"Downloading") ; \ $(GET_SVN_SOURCE) $($(PKG)_SITE)/$($(PKG)_SOURCE) $(DL_DIR)/$($(PKG)_SOURCE); \ elif [ ! -f $(DL_DIR)/$(1) ]; then \