Skip to content

Commit

Permalink
polishing directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 16, 2023
1 parent 59984d5 commit 672a85e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ fi
eessi_tmp=${STORAGE}
# create tarball -> should go into a separate script when this is supported by the bot
target_tgz=eessi-${eessi_version}-compat-linux-${eessi_arch}-$(date +%s).tar.gz
if [ -d ${eessi_tmp}/${tar_topdir}/${eessi_version} ]; then
echo ">> Creating tarball ${target_tgz} from ${eessi_tmp}/${tar_topdir}..."
tar cfvz ${target_tgz} -C ${eessi_tmp}/${tar_topdir} ${eessi_version}/compat/${eessi_os}/${eessi_arch}
if [ -d ${eessi_tmp}${tar_topdir}/${eessi_version} ]; then
echo ">> Creating tarball ${target_tgz} from ${eessi_tmp}${tar_topdir}..."
tar cfvz ${target_tgz} -C ${eessi_tmp}${tar_topdir} ${eessi_version}/compat/${eessi_os}/${eessi_arch}
echo ${target_tgz} created!
else
echo "Directory ${eessi_tmp}/${tar_topdir}/${eessi_version} was not created, not creating tarball."
echo "Directory ${eessi_tmp}${tar_topdir}/${eessi_version} was not created, not creating tarball."
exit 1
fi

0 comments on commit 672a85e

Please sign in to comment.