Closed eLco closed 6 years ago
What is your make -v
?
It works for me, both in toolbox and with Apple supplied GNU Make 3.81.
bash-4.3# cat >Makefile
TS ?= $(shell date +"%Y-%m-%d-%H-%M-%S")
Z := $(shell sleep 2)
SNAPSHOT ?= s3:///$(TS).tar.bz
deploy:
@echo $(TS)
@echo $(Z)
@sleep 2
@echo $(SNAPSHOT)
bash-4.3# make deploy
2018-07-02-20-34-32
s3:///2018-07-02-20-34-32.tar.bz
make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Git service restore from backup may fails because of the different filenames of backup archive in S3 bucket and in component output.
This is caused by two times evaluation of this code: