Skip to content

Commit 305f3db

Browse files
authored
add missing then in condition to determine tarball filename in bot/build.sh
1 parent 1beac45 commit 305f3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ source $software_layer_dir/init/eessi_defaults
271271
# append the project (subdirectory) name to the end tarball name. This is information
272272
# then used at the ingestion stage. If ${EESSI_DEV_PROJECT} is not defined, nothing is
273273
# appended
274-
if [[ -z ${EESSI_ACCELERATOR_TARGET_OVERRIDE} ]];
274+
if [[ -z ${EESSI_ACCELERATOR_TARGET_OVERRIDE} ]]; then
275275
export TGZ=$(printf "eessi-%s-software-%s-%s-%b%d.tar.gz" ${EESSI_VERSION} ${EESSI_OS_TYPE} ${EESSI_SOFTWARE_SUBDIR_OVERRIDE//\//-} ${EESSI_DEV_PROJECT:+$EESSI_DEV_PROJECT-} ${timestamp})
276276
else
277277
export TGZ=$(printf "eessi-%s-software-%s-%s-%s-%b%d.tar.gz" ${EESSI_VERSION} ${EESSI_OS_TYPE} ${EESSI_SOFTWARE_SUBDIR_OVERRIDE//\//-} ${EESSI_ACCELERATOR_TARGET_OVERRIDE//\//-} ${EESSI_DEV_PROJECT:+$EESSI_DEV_PROJECT-} ${timestamp})

0 commit comments

Comments
 (0)