Skip to content

Commit

Permalink
crowdin: Defer repo sync until setup.sh is ran
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Dec 7, 2023
1 parent 6e7254b commit f590510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crowdin/crowdin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ echo "--- Syncing"
mkdir -p /lineage/${BUILDKITE_BRANCH}/.repo/local_manifests
cd /lineage/${BUILDKITE_BRANCH}
rm -rf .repo/local_manifests/*
repo sync lineage/crowdin
cp lineage/crowdin/config/${BUILDKITE_BRANCH}_extra_packages.xml .repo/local_manifests
if [ -f /lineage/setup.sh ]; then
source /lineage/setup.sh
fi
repo sync lineage/crowdin
# catch SIGPIPE from yes
yes | repo init -u https://github.com/lineageos/android.git -b ${BUILDKITE_BRANCH} -g default,-darwin --repo-rev=${REPO_VERSION} --git-lfs || if [[ $? -eq 141 ]]; then true; else false; fi
repo version
Expand Down

0 comments on commit f590510

Please sign in to comment.