Skip to content

Commit

Permalink
build: fix usage of PKGOS_BITS
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 3, 2021
1 parent 699faa2 commit b9b2cda
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tools/jenkins/build-Linux-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ else
fi
export LD_LIBRARY_PATH


# Pretty architecture/platform identifier (used for breakpad symbol files)
PKGOS_BITS="${PKGOS}-x86_${BITS}bit"

if [ -d "${BUILD_ARCHIVE_DIRECTORY}" ]; then
rm -rf "${BUILD_ARCHIVE_DIRECTORY}"
Expand Down
3 changes: 3 additions & 0 deletions tools/jenkins/build-Windows-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ source dllVersions.sh

updateBuildOptions

# Pretty architecture/platform identifier (used for breakpad symbol files)
PKGOS_BITS="${PKGOS}-x86_${BITS}bit"

if [ -z "${NATRON_BUILD_CONFIG:-}" ]; then
echo "NATRON_BUILD_CONFIG empty"
exit 1
Expand Down
4 changes: 0 additions & 4 deletions tools/jenkins/createBuildOptionsFile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ PKGOS=""
# 32, 64 or universal
BITS=""
# Pretty architecture/platform identifier
PKGOS_BITS="$PKGOS-x86_${BITS}bit"
# Temporary directory where the binaries are built
TMP_PATH=""
Expand Down
2 changes: 1 addition & 1 deletion tools/jenkins/launchBuildMain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ if [ "$NATRON_BUILD_CONFIG" = "SNAPSHOT" ]; then
INSTALLER_BASENAME="${INSTALLER_BASENAME}-${NATRON_GIT_BRANCH}-${CURRENT_DATE}"
fi

INSTALLER_BASENAME="${INSTALLER_BASENAME}-${NATRON_VERSION_STRING}-${PKGOS}-${PKGOS_BITS}"
INSTALLER_BASENAME="${INSTALLER_BASENAME}-${NATRON_VERSION_STRING}-${PKGOS}-${BITS}"

if [ "$COMPILE_TYPE" = "debug" ]; then
INSTALLER_BASENAME="${INSTALLER_BASENAME}-debug"
Expand Down

0 comments on commit b9b2cda

Please sign in to comment.