Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bdb823d authored by Romain Hunault's avatar Romain Hunault
Browse files

Fix build issue for non-cicd builds

parent daac0a28
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ if [ "$SIGN_BUILDS" = true ]; then
fi

# Define memory to use for jack (depending of runner tag)
if [ -n ${CI_RUNNER_TAGS} ]
  jack_memory=$(echo ${CI_RUNNER_TAGS} | grep GB | sed 's/.* \([0-9]*GB\).*/\1/')
  if [ -n ${jack_memory} ]
  then
@@ -65,6 +66,7 @@ then
    export ANDROID_JACK_VM_ARGS
    echo "ANDROID_JACK_VM_ARGS set to ${ANDROID_JACK_VM_ARGS}"
  fi
fi

if [ "$CRONTAB_TIME" = "now" ]; then
  /root/build.sh