From 05d95c23d0f856ec858908774e7b296d98b25ebf Mon Sep 17 00:00:00 2001 From: Peer Stritzinger Date: Tue, 12 Aug 2014 18:06:57 +0200 Subject: Added missing ; in dep_target The missing ; makes the DEPPKG= line run together with the VS= line which makes it similar to this FreeBSD 8.2 /bin/sh results: $ A=x B=$A; $ echo $A x $ echo $B $ The same with bash: $ A=x B=$A; $ echo $A x $ echo $B x --- core/deps.mk | 2 +- erlang.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/deps.mk b/core/deps.mk index 1c1892f..cfb432d 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -57,7 +57,7 @@ $(DEPS_DIR)/$(1): @mkdir -p $(DEPS_DIR) @if [ ! -f $(PKG_FILE2) ]; then $(call core_http_get,$(PKG_FILE2),$(PKG_FILE_URL)); fi ifeq (,$(dep_$(1))) - DEPPKG=$$$$(awk 'BEGIN { FS = "\t" }; $$$$1 == "$(1)" { print $$$$2 " " $$$$3 " " $$$$4 }' $(PKG_FILE2);) \ + DEPPKG=$$$$(awk 'BEGIN { FS = "\t" }; $$$$1 == "$(1)" { print $$$$2 " " $$$$3 " " $$$$4 }' $(PKG_FILE2);); \ VS=$$$$(echo $$$$DEPPKG | cut -d " " -f1); \ REPO=$$$$(echo $$$$DEPPKG | cut -d " " -f2); \ COMMIT=$$$$(echo $$$$DEPPKG | cut -d " " -f3); \ diff --git a/erlang.mk b/erlang.mk index 62f9ebe..10f42dc 100644 --- a/erlang.mk +++ b/erlang.mk @@ -125,7 +125,7 @@ $(DEPS_DIR)/$(1): @mkdir -p $(DEPS_DIR) @if [ ! -f $(PKG_FILE2) ]; then $(call core_http_get,$(PKG_FILE2),$(PKG_FILE_URL)); fi ifeq (,$(dep_$(1))) - DEPPKG=$$$$(awk 'BEGIN { FS = "\t" }; $$$$1 == "$(1)" { print $$$$2 " " $$$$3 " " $$$$4 }' $(PKG_FILE2);) \ + DEPPKG=$$$$(awk 'BEGIN { FS = "\t" }; $$$$1 == "$(1)" { print $$$$2 " " $$$$3 " " $$$$4 }' $(PKG_FILE2);); \ VS=$$$$(echo $$$$DEPPKG | cut -d " " -f1); \ REPO=$$$$(echo $$$$DEPPKG | cut -d " " -f2); \ COMMIT=$$$$(echo $$$$DEPPKG | cut -d " " -f3); \ -- cgit v1.2.3