diff --git a/docker/run.sh b/docker/run.sh index 4fe7beb..d5d2eaf 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -43,5 +43,7 @@ docker run -it \ $DOCKER_RUN_OPTIONS \ -v "${PACKET_BUILD_DIR}:/build/packet" \ -v "${SCRIPT_BUILD_DIR}:/build/script" \ + -e ARCH \ + -e PLATFORM \ morevna/${IMAGE} \ "$@" diff --git a/publish/update-opentoonz-linux.sh b/publish/update-opentoonz-linux.sh index 60eb164..b00bb08 100755 --- a/publish/update-opentoonz-linux.sh +++ b/publish/update-opentoonz-linux.sh @@ -21,9 +21,9 @@ if [ -f $CONFIG_FILE ]; then fi run() { - local SCRIPT=$1 - local PLATFORM=$2 - local PLATFORM_SUFFIX=${ARCH}bit + export SCRIPT=$1 + export PLATFORM=$2 + export PLATFORM_SUFFIX=${ARCH}bit echo "" echo "Update opentoonz for $PLATFORM_SUFFIX" diff --git a/publish/update-synfigstudio-linux.sh b/publish/update-synfigstudio-linux.sh index 4fea6d4..db3cb99 100755 --- a/publish/update-synfigstudio-linux.sh +++ b/publish/update-synfigstudio-linux.sh @@ -21,9 +21,9 @@ if [ -f $CONFIG_FILE ]; then fi run() { - local SCRIPT=$1 - local PLATFORM=$2 - local PLATFORM_SUFFIX=${ARCH}bit + export SCRIPT=$1 + export PLATFORM=$2 + export PLATFORM_SUFFIX=${ARCH}bit echo "" echo "Update synfigstudio for $PLATFORM_SUFFIX"