SPEC_FILE

This commit is contained in:
Biplob SD 2020-06-24 23:11:48 +06:00 committed by GitHub
parent ff7e885f69
commit f1f2d7035f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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