From 1bfd6b59845adf99e08a5a117dc781850faf2ff1 Mon Sep 17 00:00:00 2001
From: Julien Leduc <julien.leduc@cern.ch>
Date: Thu, 22 Aug 2019 13:51:56 +0200
Subject: [PATCH] Fixed a typo that prevented LOGDIR to be created in the
 correct place: /var/log was used instead

---
 continuousintegration/orchestration/tests/client_ar.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh
index 162b1eaa7d..ba94abbc3e 100644
--- a/continuousintegration/orchestration/tests/client_ar.sh
+++ b/continuousintegration/orchestration/tests/client_ar.sh
@@ -135,7 +135,7 @@ if [[ "x${TARGETDIR}" = "x" ]]; then
 else
     EOS_DIR="${EOS_BASEDIR}/${TARGETDIR}"
 fi
-LOGDIR="${LOGDIR}/$(basebane ${EOS_DIR})"
+LOGDIR="${LOGDIR}/$(basename ${EOS_DIR})"
 mkdir -p ${LOGDIR} || die "Cannot create directory LOGDIR: ${LOGDIR}"
 mkdir -p ${LOGDIR}/xrd_errors || die "Cannot create directory LOGDIR/xrd_errors: ${LOGDIR}/xrd_errors"
 
-- 
GitLab