diff --git a/build.sh b/build.sh index 6a434e79450297cc465efd4715bd685020298d42..0084bd07c64b022bc1d4db1026ae65a72a767e76 100755 --- a/build.sh +++ b/build.sh @@ -215,7 +215,7 @@ if [ "$1" == "setup" ]; then cd .. cd media-git - git remote add main $myrepo + git remote add $mybranch $myrepo if [ -n "$mylocalrepo" ]; then git remote add local $mylocalrepo fi diff --git a/env.tmpl b/env.tmpl index 8b8551b58b589a00376549123a48d115d7f2f301..304665bb2a634ce90c4b730a01b8765ab191a065 100755 --- a/env.tmpl +++ b/env.tmpl @@ -5,6 +5,8 @@ # Your main git tree where you keep your in-progress work. # This will be named 'main'. myrepo=git://linuxtv.org/hverkuil/media_tree.git +# You can also specify a specific branch to checkout +#mybranch=example_branch # Optional: your local git tree where you do your development # This will be named 'local', so to build a branch from your