tests: Guess the right builder name
when run by buildslaves
This commit is contained in:
parent
3eba9a809b
commit
73443ebe31
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ fi
|
|||
# setup xunit reporting (buildbot slaves only)
|
||||
if [ -n "${RSYNC_TARGET}" ]; then
|
||||
# by default, builder name is containing directory name
|
||||
[ -z "${BUILDER_NAME}" ] && BUILDER_NAME=$(basename $(readlink -e $(dirname $0)/..))
|
||||
[ -z "${BUILDER_NAME}" ] && BUILDER_NAME=$(basename $(readlink -e $(dirname $0)/../..))
|
||||
else
|
||||
RSYNC_TARGET=""
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue