Commit 08914f82 authored by Lucas Russo's avatar Lucas Russo

scripts/Makefile: use ":=" so shell commands are only evaluated once

parent 7345da83
......@@ -19,8 +19,8 @@ PWD = $(shell pwd)
# OS information
SERVICE_NAME = bpm-sw
INIT_SYSTEM = $(shell ./get-init-system.sh)
SCRIPTS_FULL_NAME = $(shell cd $(INIT_SYSTEM) && find . -type f)
INIT_SYSTEM := $(shell ./get-init-system.sh)
SCRIPTS_FULL_NAME := $(shell cd $(INIT_SYSTEM) && find . -type f)
# Strip off a leading ./
SCRIPTS=$(SCRIPTS_FULL_NAME:./%=%)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment