Skip to content

Commit

Permalink
fix check for rebuilds easystacks
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Jan 21, 2025
1 parent 5fefebc commit 1219b34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ else
if [ -f ${easystack_file} ]; then
echo_green "Feeding easystack file ${easystack_file} to EasyBuild..."

if [[ $stack == *"/rebuilds/"* ]]; then
if [[ ${easystack_file} == *"/rebuilds/"* ]]; then
echo_yellow "This is a rebuild, so using --try-amend=keeppreviousinstall=True to reuse the already created directory"
${EB} --easystack ${easystack_file} --robot --try-amend=keeppreviousinstall=True
else
${EB} --easystack ${easystack_file} --robot
Expand Down

0 comments on commit 1219b34

Please sign in to comment.