From 11a62d231859d6951cf95c359053bac1d8b97061 Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Thu, 23 Sep 2021 13:45:43 +0000 Subject: [PATCH] use clean file to clean repository of unused git repos before building --- src/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/build.sh b/src/build.sh index e494faf..4521602 100755 --- a/src/build.sh +++ b/src/build.sh @@ -114,6 +114,12 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then 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" -- GitLab