diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-19 14:38:06 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-19 14:38:06 +0000 |
commit | 216021aff91a81c787ae72b0585428e35a207c4d (patch) | |
tree | 969c17872e46486feaebedcda425168e66b5fc0e /tcwg-binutils.yaml | |
parent | f2e73815fa60970134dbf093c3c12a463963ff1c (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.yaml | 6 |
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) |