SPEC_FILE
This commit is contained in:
parent
ff7e885f69
commit
f1f2d7035f
|
@ -17,6 +17,8 @@ PYPI_INDEX_URL=$3
|
||||||
|
|
||||||
WORKDIR=${SRCDIR:-/src}
|
WORKDIR=${SRCDIR:-/src}
|
||||||
|
|
||||||
|
SPEC_FILE="${SRCDIR}/${4}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# In case the user specified a custom URL for PYPI, then use
|
# In case the user specified a custom URL for PYPI, then use
|
||||||
# that one, instead of the default one.
|
# that one, instead of the default one.
|
||||||
|
@ -44,7 +46,7 @@ fi # [ -f requirements.txt ]
|
||||||
|
|
||||||
|
|
||||||
# if [[ "$@" == "" ]]; then
|
# 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
|
chown -R --reference=. ./dist/windows
|
||||||
# else
|
# else
|
||||||
# sh -c "$@"
|
# sh -c "$@"
|
||||||
|
|
Loading…
Reference in New Issue