Skip to content

Commit 0d525bb

Browse files
committed
first process rebuilds, then new installations
1 parent a19a1de commit 0d525bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

EESSI-install-software.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ if [ -z ${changed_easystacks} ]; then
208208
echo "No missing installations, party time!" # Ensure the bot report success, as there was nothing to be build here
209209
else
210210

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

0 commit comments

Comments
 (0)