From 66c0e50063445083e0b6d585f478381261ce0cec Mon Sep 17 00:00:00 2001
From: Joao Afonso <joao.afonso@cern.ch>
Date: Fri, 22 Jul 2022 15:55:50 +0200
Subject: [PATCH] Fixed broken symlink required for containerised installation

---
 .../docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh
index 039696e6cb..78179e5d3d 100755
--- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh
+++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh
@@ -25,7 +25,7 @@ echo Creating symlinks for CTA libraries.
 find ${BUILDTREE_BASE}/${CTA_BUILDTREE_SUBDIR} | grep '.so$' | xargs -itoto ln -s -v -t /usr/lib64 toto
 echo Creating symlink for frontend configuration file.
 CTA_SOURCE_TREE=`perl -e 'while (<>) { if (/cta_SOURCE_DIR:STATIC=(.*)/ ) { print $1."\n"; } }' < ${BUILDTREE_BASE}/${CTA_BUILDTREE_SUBDIR}/CMakeCache.txt`
-ln -s -v -t /etc/cta ${CTA_SOURCE_TREE}/xroot_plugins/cta-frontend-xrootd.conf
+ln -s -v -t /etc/cta ${CTA_SOURCE_TREE}/continuousintegration/docker/ctafrontend/cc7/etc/cta/cta-frontend-xrootd.conf
 echo "Copying cta-fst-gcd (requires a different name)"
 cp -v ${CTA_SOURCE_TREE}/python/eosfstgcd/ctafstgcd.py /usr/bin/cta-fst-gcd
 if [[ -n "${EOS_BUILDTREE_SUBDIR}" ]]; then
-- 
GitLab