diff options
author | Peer Stritzinger <[email protected]> | 2014-08-12 18:06:57 +0200 |
---|---|---|
committer | Peer Stritzinger <[email protected]> | 2014-08-12 18:06:57 +0200 |
commit | 05d95c23d0f856ec858908774e7b296d98b25ebf (patch) | |
tree | bbfe6ef6fa6108694bd70f571de4afb8d06c3b87 | |
parent | bf595cbca4e93cf4ff28c0595aed7d23c5b476e5 (diff) | |
download | erlang.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.mk | 2 | ||||
-rw-r--r-- | 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); \ @@ -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); \ |