diff --git a/builder.sh b/builder.sh index bc3808b3..a7d415e0 100755 --- a/builder.sh +++ b/builder.sh @@ -4,7 +4,6 @@ set -e SYSTEM=$1 VERSION=$(git describe --tags) -DISTDIR=NowPlaying-"${VERSION}-${SYSTEM}" UNAMESYS=$(uname -s) if [[ -z "${SYSTEM}" ]]; then @@ -32,6 +31,8 @@ case "${SYSTEM}" in ;; esac +DISTDIR=NowPlaying-"${VERSION}-${SYSTEM}" + PYTHONBIN=$(command -v "${PYTHON}") echo "*****" echo "* Building on ${SYSTEM} / ${UNAMESYS}" @@ -128,5 +129,5 @@ if [[ "${SYSTEM}" == "macosx" ]]; then fi if [[ ${SYSTEM} != "windows" ]]; then - zip -r "${DISTDIR}".zip "${DISTDIR}" + zip --symlinks -r "${DISTDIR}".zip "${DISTDIR}" fi