aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2014-06-05 21:01:35 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2014-06-05 21:01:35 +0000
commit8e958dc98ef162cf2680dd928524c8a407582642 (patch)
tree56b743cc8de380268633b3aabbe95b85f7500194
parent285c1e56f13959ba2b87f36ee3a6b25e356f6eeb (diff)
HACK: Permit use of local git repo over ssh to localhost
-rw-r--r--config/sources.conf3
-rw-r--r--lib/checkout.sh10
2 files changed, 8 insertions, 5 deletions
diff --git a/config/sources.conf b/config/sources.conf
index 52e3ba1..85e04a8 100644
--- a/config/sources.conf
+++ b/config/sources.conf
@@ -53,3 +53,6 @@ openembedded-core.git git://git.openembedded.org/openembedded-core
valgrind svn://svn.valgrind.org/valgrind/trunk
qemu.git git://git.qemu.org/qemu.git
qemu-linaro.git http://git.linaro.org/qemu/qemu-linaro.git
+
+#Benchmarks
+cpu2000.git ssh://localhost/~/bench/spec2k/cpu2000.git
diff --git a/lib/checkout.sh b/lib/checkout.sh
index c6d6c8e..8aa396b 100644
--- a/lib/checkout.sh
+++ b/lib/checkout.sh
@@ -178,10 +178,10 @@ checkout()
local service=
service="`get_git_service $1`"
- if test x"${service}" = x ; then
- error "A proper url is required. Call get_URL first."
- return 1
- fi
+# if test x"${service}" = x ; then
+# error "A proper url is required. Call get_URL first."
+# return 1
+# fi
local repo=
repo="`get_git_repo $1`"
@@ -236,7 +236,7 @@ checkout()
fi
fi
;;
- git*|http*)
+ git*|http*|ssh*)
if test -e ${srcdir}/.git -o -e ${srcdir}/.gitignore; then
if test x"${supdate}" = xyes; then
notice "Updating sources for $1 in ${srcdir}"