aboutsummaryrefslogtreecommitdiff
path: root/tcwg-binutils.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-05-19 14:38:06 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-05-19 14:38:06 +0000
commit216021aff91a81c787ae72b0585428e35a207c4d (patch)
tree969c17872e46486feaebedcda425168e66b5fc0e /tcwg-binutils.yaml
parentf2e73815fa60970134dbf093c3c12a463963ff1c (diff)
tcwg-binutils: log_server may or may not contain a path, support both.
Change-Id: I424bb9dbff4a02019ca7d071ab622c1856da63d2
Diffstat (limited to 'tcwg-binutils.yaml')
-rw-r--r--tcwg-binutils.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/tcwg-binutils.yaml b/tcwg-binutils.yaml
index aa05c786..ffaeba59 100644
--- a/tcwg-binutils.yaml
+++ b/tcwg-binutils.yaml
@@ -162,8 +162,12 @@
echo '############################################'
[ x"$sums" != x ] && tail $sums
+ set -x
+ # Split $logserver into "server:path".
+ basedir="${log_server#*:}"
+ log_server="${log_server%:*}"
eval dir=${log_name}
- rsync -av ${sums} $log_server:$dir/
+ rsync -av ${sums} ${log_server}:${basedir=}/$dir/
echo BUILD FINISHED $(date)