Skip to content

Commit 86eb322

Browse files
committed
Evaluate shell command once
1 parent 742200e commit 86eb322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: test test-report test-fix update-compatibility-patch
22

3-
PHP_74_OR_NEWER=`php -r "echo (int) version_compare(PHP_VERSION, '7.4', '>=');"`
3+
PHP_74_OR_NEWER:=$(shell php -r "echo (int) version_compare(PHP_VERSION, '7.4', '>=');")
44

55
test: test-report test-fix
66

0 commit comments

Comments
 (0)