From 8b9830e15240cba8a2250e62d9b8d6d596d2e6a5 Mon Sep 17 00:00:00 2001
From: Neves-P
Date: Sat, 2 Mar 2024 23:07:08 +0100
Subject: [PATCH] Check if easyconfigs were detected
---
bot/build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bot/build.sh b/bot/build.sh
index b76baafc37..2eb21b0cd1 100755
--- a/bot/build.sh
+++ b/bot/build.sh
@@ -205,11 +205,11 @@ else
for easystack_file in ${changed_easystacks}; do
echo -e "Processing easystack file ${easystack_file}...\n\n"
- easyconfigs=$(grep '^+.*.eb$' 19.diff | awk -v ORS=' ' '{print $3}')
+ easyconfigs=$(grep '^+.*.eb$' ${pr_diff} | awk -v ORS=' ' '{print $3}')
echo_green "All set, let's start installing some software with EasyBuild in ${EASYBUILD_INSTALLPATH}..."
- if [ -z ${easyconfigs+x}]; then
+ if [ ! -z ${easyconfigs} ]; then
echo_green "Successfully read easyconfig files\n"
echo "Building following easyconfigs: ${easyconfigs}"