add build module switch

This commit is contained in:
Casper Chang
2021-01-07 11:15:05 +08:00
parent 1956eba1b0
commit 6e511f41d6
2 changed files with 49 additions and 14 deletions

View File

@@ -22,7 +22,6 @@ if [ -z "$2" ]
echo "INFO: copy local manifests, No branch specified"
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git
else
echo "INFO: copy local manifests, branch: $2"
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git -b $2
fi