[build]: setup -t option in docker run correctly (#6320)
use bash -t test flag to check if input device is tty or not Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
b41944a93d
commit
570976380a
@ -105,7 +105,7 @@ DOCKER_RUN := docker run --rm=true --privileged \
|
|||||||
-w $(DOCKER_BUILDER_WORKDIR) \
|
-w $(DOCKER_BUILDER_WORKDIR) \
|
||||||
-e "http_proxy=$(http_proxy)" \
|
-e "http_proxy=$(http_proxy)" \
|
||||||
-e "https_proxy=$(https_proxy)" \
|
-e "https_proxy=$(https_proxy)" \
|
||||||
-i$(if $(TERM),t,)
|
-i$(shell { if [ -t 0 ]; then echo t; fi })
|
||||||
|
|
||||||
include rules/config
|
include rules/config
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user