diff options
author | Matus Kukan <matus.kukan@gmail.com> | 2012-02-16 15:02:01 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-16 17:22:01 +0100 |
commit | 22431c50922eab47df0d8bd4f5c886e06fba24fb (patch) | |
tree | 049fa7c8b45ca6dac40436736f0ce1cf6039d153 | |
parent | 980e69cd61b41a644de0736ee7b70c84f5b9e013 (diff) |
gbuild: Jar: fix building .jars on Windows
-rw-r--r-- | solenv/gbuild/Jar.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/Jar.mk b/solenv/gbuild/Jar.mk index bf4ed12bd152..70c14c5e90e2 100644 --- a/solenv/gbuild/Jar.mk +++ b/solenv/gbuild/Jar.mk @@ -65,7 +65,7 @@ define gb_Jar__command mkdir -p $(dir $(2)) && cd $(call gb_Jar_get_workdir,$(1)) && \ $(gb_Jar_JARCOMMAND) cfm $(2) $(call gb_Jar_get_manifest_target,$(1)) \ META-INF $(PACKAGEROOTS) $(PACKAGEFILES) \ - $(foreach root,$(PACKAGEDIRS),&& $(gb_Jar_JARCOMMAND) uf $(2) -C $(dir $(root)) $(notdir $(root))) \ + $(foreach root,$(PACKAGEDIRS),&& cd $(dir $(root)) && $(gb_Jar_JARCOMMAND) uf $(2) $(notdir $(root))) \ || (rm $(2); false) ) endef |