Merge pull request #1117 from fewtarius/dev

Export egg cache variable.
This commit is contained in:
fewtarius 2023-02-28 22:36:19 -05:00 committed by GitHub
commit 01ab5494c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ set -e
. config/arch.${TARGET_ARCH}
fi
[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
[ -z "${HOST_NAME}" ] && export HOST_NAME="$(hostname)"
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
BUILD=${BUILD_ROOT}/${BUILD_BASE}.${DISTRONAME}-${DEVICE:-${PROJECT}}.${TARGET_ARCH}
@ -85,7 +85,7 @@ fi
# Corrects a missing cache directory when building with Docker.
if [ -z "${PYTHON_EGG_CACHE}" ]; then
PYTHON_EGG_CACHE="${BUILD}/.egg_cache"
export PYTHON_EGG_CACHE="${BUILD}/.egg_cache"
fi
if [[ -z "$PATH" || ( "$PATH" != "${TOOLCHAIN}/bin:${TOOLCHAIN}/sbin" && "$PATH" = "${PATH#${TOOLCHAIN}/bin:${TOOLCHAIN}/sbin:}" ) ]]; then