Skip to content

Commit 252020a

Browse files
committed
disable phar.readonly
1 parent b1e5189 commit 252020a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
box := $(shell which box.phar 2>/dev/null || which box 2>/dev/null || echo false)
2+
php := php
23
VCS := cvs svn git
34
TARGETS := $(patsubst %,eventum-%-hook.phar,$(VCS))
45

@@ -11,7 +12,7 @@ phar: $(TARGETS)
1112
# not possible to set options from commandline, so template this a bit
1213
# https://github.com/box-project/box2/issues/91
1314
sed -e 's,@main@,$<,' -e 's,@output@,$@,' box.json > [email protected]
14-
$(box) build -v -c [email protected]
15+
$(php) -d phar.readonly=0 $(box) build -v -c [email protected]
1516
1617

1718
clean:

0 commit comments

Comments
 (0)