about summary refs log tree commit diff
path: root/jars.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-12T10·50+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-12T10·50+0200
commit72d684d592233829b785d5fbec10da6e9ce580df (patch)
tree97fade563a8c9dfba07dc06ae78137265437b55c /jars.mk
parent5c4d2dab99d9a8c18055fda25678e055ef6ef168 (diff)
Don't rely on process substitution
Diffstat (limited to 'jars.mk')
-rw-r--r--jars.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/jars.mk b/jars.mk
index a11178342e54..c8513e664ed5 100644
--- a/jars.mk
+++ b/jars.mk
@@ -16,7 +16,9 @@ define build-jar
 	$$(trace-javac) javac $(GLOBAL_JAVACFLAGS) $$($(1)_JAVACFLAGS) -d $$($(1)_TMPDIR) \
 	  $$(foreach fn, $$($(1)_SOURCES), '$$(fn)') \
 	  -cp "$$(subst $$(space),,$$(foreach jar,$$($(1)_JARS),$$($$(jar)_PATH):))$$$$CLASSPATH"
-	$$(trace-jar) jar cfm $$($(1)_PATH) <(echo -e '$$(subst $$(newline),\n,$$($(1)_MANIFEST))') -C $$($(1)_TMPDIR) .
+	@echo -e '$$(subst $$(newline),\n,$$($(1)_MANIFEST))' > $$($(1)_PATH).manifest
+	$$(trace-jar) jar cfm $$($(1)_PATH) $$($(1)_PATH).manifest -C $$($(1)_TMPDIR) .
+	@rm $$($(1)_PATH).manifest
 	@rm -rf $$($(1)_TMPDIR)
 
   $(1)_INSTALL_DIR ?= $$(jardir)