Skip to content

Commit

Permalink
first process rebuilds, then new installations
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Mar 27, 2024
1 parent a19a1de commit 0d525bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ if [ -z ${changed_easystacks} ]; then
echo "No missing installations, party time!" # Ensure the bot report success, as there was nothing to be build here
else

for easystack_file in ${changed_easystacks}; do
# first process rebuilds if any, then easystack files for new installations
rebuild_easystacks=$(echo "${changed_easystacks} | grep /rebuilds/ || true)
new_easystacks=$(echo "${changed_easystacks} | grep -v /rebuilds/ || true)
for easystack_file in ${rebuild_easystacks} ${new_easystacks}; do
echo -e "Processing easystack file ${easystack_file}...\n\n"
Expand Down

0 comments on commit 0d525bb

Please sign in to comment.