From d4ee938a5dff47b076327fbd40ca6a2f25cae1ea Mon Sep 17 00:00:00 2001 From: Brad Ison Date: Thu, 8 Feb 2018 16:43:40 -0500 Subject: [PATCH] Fix license test in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a1bf0a1e..f319fe048 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ COPY requirements.txt requirements-tests.txt ./ # Due to the following bug, pip results must be piped to a file before grepping: # https://github.com/pypa/pip/pull/3304 RUN cat requirements.txt | grep -v "^-e" | awk -F'==' '{print $1}' | xargs venv/bin/pip --disable-pip-version-check show > pipinfo.txt && \ - test -z $(cat pipinfo.txt | grep GPL | grep -v LGPL) && \ + test -z "$(cat pipinfo.txt | grep GPL | grep -v LGPL)" && \ rm pipinfo.txt RUN virtualenv --distribute venv \ @@ -57,4 +57,4 @@ RUN PYTHONPATH=$QUAYPATH venv/bin/alembic heads | grep -E '^[0-9a-f]+ \(head\)$' RUN ./scripts/detect-config.sh -CMD ./quay-entrypoint.sh \ No newline at end of file +CMD ./quay-entrypoint.sh