From f1f2d7035f3ff53df3411f2b0b7ec2834525c59f Mon Sep 17 00:00:00 2001 From: Biplob SD <43641536+biplobsd@users.noreply.github.com> Date: Wed, 24 Jun 2020 23:11:48 +0600 Subject: [PATCH] SPEC_FILE --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3acaab8..7ed1228 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,6 +17,8 @@ PYPI_INDEX_URL=$3 WORKDIR=${SRCDIR:-/src} +SPEC_FILE="${SRCDIR}/${4}" + # # In case the user specified a custom URL for PYPI, then use # that one, instead of the default one. @@ -44,7 +46,7 @@ fi # [ -f requirements.txt ] # if [[ "$@" == "" ]]; then -pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec +pyinstaller --clean -y --dist ./dist/windows --workpath /tmp $SPEC_FILE chown -R --reference=. ./dist/windows # else # sh -c "$@"