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

Commit 11a62d23 authored by Alexandre Roux's avatar Alexandre Roux
Browse files

use clean file to clean repository of unused git repos before building

parent d5a1d3b8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -115,6 +115,12 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
    sync_successful=false
  fi
  
  if [ -f /root/userscripts/clean.sh ]; then
    echo ">> [$(date)] Running clean.sh"
    /root/userscripts/clean.sh
  fi


  if [ ! -d "vendor/$vendor" ]; then
    echo ">> [$(date)] Missing \"vendor/$vendor\", aborting"
    exit 1