mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
startup.sh: Be more verbose
This commit is contained in:
parent
7d9c9884a5
commit
8a4556437a
@ -2,6 +2,7 @@
|
||||
|
||||
# Initialize ccache if needed
|
||||
if [ ! -f /srv/ccache/CACHEDIR.TAG ]; then
|
||||
echo "Initializing ccache in /srv/ccache..."
|
||||
CCACHE_DIR=/srv/ccache ccache -M 50G
|
||||
fi
|
||||
|
||||
@ -10,6 +11,7 @@ fi
|
||||
# For performance reasons, only search on the first level.
|
||||
for i in "/home/cmbuild/android" "/srv/ccache"; do
|
||||
if [ $(find $i -maxdepth 1 -user root | wc -l) -gt 0 ]; then
|
||||
echo "Fixing permissions on $i..."
|
||||
chown -R cmbuild:cmbuild $i
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user