This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking in repository toolchain/abe.
The following commit(s) were added to refs/heads/bernie/benchmarking by this push: new 55f0440 Take only first IP output by hostname -I 55f0440 is described below
commit 55f044094e5e584d56d5c371a82887dc22708477 Author: Bernard Ogden bernie.ogden@linaro.org Date: Thu Aug 13 19:09:20 2015 +0200
Take only first IP output by hostname -I
In some cases, this tool outputs multiple IP addresses
Change-Id: I56252a244c1e736c93a4384af201e1bbef2506f3 --- scripts/runbenchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runbenchmark.sh b/scripts/runbenchmark.sh index 59fad1c..3202797 100755 --- a/scripts/runbenchmark.sh +++ b/scripts/runbenchmark.sh @@ -11,7 +11,7 @@ trap 'exit ${error}' TERM INT HUP QUIT #Signal death can be part [...]
#Precondition: the target is in known_hosts ssh_opts="-F /dev/null -o StrictHostKeyChecking=yes -o CheckHostIP=yes" -host_ip="`hostname -I | tr -d '[[:space:]]'`" #hostname -I includes a trailing space +host_ip="`hostname -I | cut -f 1 -d ' '`" #hostname -I includes a trailing space
tag= benchmark=