aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Aimonetti <[email protected]>2023-05-16 10:49:32 -0700
committerLoïc Hoguin <[email protected]>2023-05-23 14:25:22 +0200
commitb92e8da1b7b48321be8a8c5951af27914aeb8952 (patch)
treebe48e445947106f4500d57b0e7c75fd012bc8de6
parent0ce8ee39bbe811edd15f08b3650ec289e7809568 (diff)
downloaderlang.mk-b92e8da1b7b48321be8a8c5951af27914aeb8952.tar.gz
erlang.mk-b92e8da1b7b48321be8a8c5951af27914aeb8952.tar.bz2
erlang.mk-b92e8da1b7b48321be8a8c5951af27914aeb8952.zip
Make parent directory of ESCRIPT_ZIP_FILE
ESCRIPT_ZIP is the executable, should ensure the parent directory of ESCRIPT_SIP_FILE exists first.
-rw-r--r--plugins/escript.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/escript.mk b/plugins/escript.mk
index 3719684..2719a03 100644
--- a/plugins/escript.mk
+++ b/plugins/escript.mk
@@ -29,7 +29,7 @@ help::
escript-zip:: FULL=1
escript-zip:: deps app
- $(verbose) mkdir -p $(dir $(ESCRIPT_ZIP))
+ $(verbose) mkdir -p $(dir $(ESCRIPT_ZIP_FILE))
$(verbose) rm -f $(ESCRIPT_ZIP_FILE)
$(gen_verbose) cd .. && $(ESCRIPT_ZIP) $(ESCRIPT_ZIP_FILE) $(PROJECT)/ebin/*
ifneq ($(DEPS),)