mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Move BUILD file generation out of key generation loop
Fix indentation
This commit is contained in:
parent
fcbd813cb1
commit
7fc4f1cc40
13
src/init.sh
13
src/init.sh
@ -41,6 +41,12 @@ git config --global user.email "$USER_MAIL"
|
||||
/root/make_key "$KEYS_DIR/$c" "$KEYS_SUBJECT" <<< '' &> /dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
for c in cyngn{-priv,}-app testkey; do
|
||||
for e in pk8 x509.pem; do
|
||||
ln -sf releasekey.$e "$KEYS_DIR/$c.$e" 2> /dev/null
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
# Android 14 requires to set a BUILD file for bazel to avoid errors:
|
||||
@ -59,13 +65,6 @@ visibility = ["//visibility:public"],
|
||||
)
|
||||
_EOB
|
||||
|
||||
for c in cyngn{-priv,}-app testkey; do
|
||||
for e in pk8 x509.pem; do
|
||||
ln -sf releasekey.$e "$KEYS_DIR/$c.$e" 2> /dev/null
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "$CRONTAB_TIME" = "now" ]; then
|
||||
/root/build.sh
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user