aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Pfeffer <zach.pfeffer@linaro.org>2013-02-22 13:28:23 -0600
committerZach Pfeffer <zach.pfeffer@linaro.org>2013-02-22 13:28:23 -0600
commit942e108295d93bc34a3659bb07b57a7a6f583ede (patch)
tree4bf9eae1f3e870394954a4d61a726f081053673d
parentb01e80f8830e672427a9beea8355867d154ca871 (diff)
downloadat-942e108295d93bc34a3659bb07b57a7a6f583ede.tar.gz
getbuildrun: Split out getting the build part
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-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
}