aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools.sh b/tools.sh
index 5bac71f..c1c15bf 100644
--- a/tools.sh
+++ b/tools.sh
@@ -493,13 +493,17 @@ function buildrun() {
bathsink
}
-export GETANDBUILD_DOC="Get all source, build everything and run"
-function getbuildrun() {
+function getsource() {
curl "http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable" > repo
chmod +x repo
./repo init -u ssh://$REMOTEUSER@linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/manifest.git -b linaro_android_4.2.2 -m vexpress-juice-aosp.xml
sed -i "s/linaro-big-little-switcher-bot/$REMOTEUSER/" .repo/manifest.xml
time ./repo sync # this may take some time
+}
+
+export GETANDBUILD_DOC="Get all source, build everything and run"
+function getbuildrun() {
+ getsource
buildrun
}