Skip to content

Commit 6c8692e

Browse files
committed
add comment on version placeholder replacements being done in install_scripts.sh
1 parent 3812bb7 commit 6c8692e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install_scripts.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ hook_files=(
184184
)
185185
copy_files_by_list ${TOPDIR} ${INSTALL_PREFIX}/init/easybuild "${hook_files[@]}"
186186

187+
# replace version placeholders in scripts;
188+
# note: the commands below are always run, regardless of whether the scripts were changed,
189+
# but that should be fine (no changes are made if version placeholder is not present anymore)
187190

188191
# make sure that scripts in init/ and scripts/ use correct EESSI version
189192
sed -i "s/__EESSI_VERSION_DEFAULT__/${EESSI_VERSION}/g" ${INSTALL_PREFIX}/init/eessi_defaults

0 commit comments

Comments
 (0)