updated license manager
Some checks failed
Test setup and build APKs archlinux / Build-APK-Arch-Linux (push) Failing after 6m19s
Test setup and build APKs / Build-and-Create-Development-Environment (push) Successful in 11s

This commit is contained in:
2025-12-09 17:36:31 +01:00
parent a393e65e85
commit 8e769ef4c6
2 changed files with 11 additions and 0 deletions

View File

@@ -2,6 +2,17 @@
# This script will initialize the gradle build process for all subprojects in src dicetory
# check if user is root and change user to builder
if [ "$EUID" -eq 0 ]; then
echo "Please do not run this script as root."
BUILD_USER="builder"
else
BUILD_USER="$USER"
fi
source /home/$BUILD_USER/.bashrc
# Find all src subdirectories containing a build.gradle file
for dir in src/*/; do
if [ -f "$dir/build.gradle" ]; then