From d35460d1d9ce4bbd02db72b1476ed127c9e02c2e Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Wed, 16 Oct 2024 21:23:27 +0200 Subject: [PATCH] Update the script for setting up releases --- scripts/cvmfs/setup-releases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cvmfs/setup-releases.sh b/scripts/cvmfs/setup-releases.sh index 5801fd9d..fcac510a 100644 --- a/scripts/cvmfs/setup-releases.sh +++ b/scripts/cvmfs/setup-releases.sh @@ -75,7 +75,7 @@ function list_packages() { # Define an array containing the paths to the folders folders=("$latest_previous_release") - if [ $build_type = "dbg" ] && [ -d $(echo $latest_previous_release | sed 's/opt/dbg/') ]; then + if [ "$build_type" = "dbg" ] && [ -d $(echo $latest_previous_release | sed 's/opt/dbg/') ]; then folders+=($(echo $latest_previous_release | sed 's/opt/dbg/')) fi folders+=(/cvmfs/sw.hsf.org/key4hep/releases/$rel/*$name*-*$build_type*)