SPEC_FILE
This commit is contained in:
parent
ff7e885f69
commit
f1f2d7035f
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue