[nginx/Makefile] use conditional directive for TEMP_DIR

This commit is contained in:
du 2017-09-07 18:37:10 +08:00
parent 7e5d0b6133
commit 6b83a0fd04

View file

@ -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