[nginx/Makefile] use conditional directive for TEMP_DIR
This commit is contained in:
parent
7e5d0b6133
commit
6b83a0fd04
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ endif
|
|||
# QEMUARCH=s390x
|
||||
#endif
|
||||
|
||||
TEMP_DIR := $(shell mktemp -d)
|
||||
ifndef TEMP_DIR
|
||||
TEMP_DIR := $(shell mktemp -d)
|
||||
endif
|
||||
|
||||
DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile
|
||||
|
||||
|
|
Loading…
Reference in a new issue