mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-05-21 05:40:49 +00:00
14 lines
463 B
Bash
Executable File
14 lines
463 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# Create all directories
|
|
mkdir -p "${ANDROID_SDK_ROOT}" "${ANDROID_SDK_HOME}" "${GRADLE_USER_HOME}"
|
|
|
|
# Copy accepted licenses as we can't accept them during the build process
|
|
cp -R "${RO_ANDROID_ROOT}"/sdk/licenses "${ANDROID_SDK_ROOT}"/licenses
|
|
|
|
# Disable gradle build daemon as we kill the container after the build
|
|
echo "org.gradle.daemon=false" > "${GRADLE_USER_HOME}"/gradle.properties
|
|
|
|
# Don't do anything after so replace our process
|
|
exec "$@"
|