aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeer Stritzinger <[email protected]>2014-08-12 18:06:57 +0200
committerPeer Stritzinger <[email protected]>2014-08-12 18:06:57 +0200
commit05d95c23d0f856ec858908774e7b296d98b25ebf (patch)
treebbfe6ef6fa6108694bd70f571de4afb8d06c3b87
parentbf595cbca4e93cf4ff28c0595aed7d23c5b476e5 (diff)
downloaderlang.mk-05d95c23d0f856ec858908774e7b296d98b25ebf.tar.gz
erlang.mk-05d95c23d0f856ec858908774e7b296d98b25ebf.tar.bz2
erlang.mk-05d95c23d0f856ec858908774e7b296d98b25ebf.zip
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
-rw-r--r--core/deps.mk2
-rw-r--r--erlang.mk2
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); \