fix unbound variable error in scripts/run-docker.sh

This commit is contained in:
Leonid Pliushch 2020-01-23 22:25:54 +02:00
parent d542602980
commit 149220d89d

View File

@ -17,7 +17,7 @@ USER=builder
echo "Running container '$CONTAINER_NAME' from image '$TERMUX_BUILDER_IMAGE_NAME'..."
if [ -n "$GITHUB_EVENT_PATH" ]; then
if [ "${GITHUB_EVENT_PATH-x}" != "x" ]; then
# On CI/CD tty may not be available.
DOCKER_TTY=""
else