Skip to content

Commit

Permalink
Merge pull request EESSI#246 from trz42/sync_nessi_eessi_prune_script…
Browse files Browse the repository at this point in the history
…s_tarball

do not include `cfg_files.sh` in scripts tarball
  • Loading branch information
poksumdo authored Jan 22, 2024
2 parents 434a101 + 2b3d0de commit 04044d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_directory_tarballs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo_green "Done! Created tarball ${tarname}."
tartmp=$(mktemp -t -d scripts.XXXXX)
mkdir "${tartmp}/${version}"
tarname="eessi-${version}-scripts-$(date +%s).tar.gz"
curl -Ls ${SOFTWARE_LAYER_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/scripts/'
curl -Ls ${SOFTWARE_LAYER_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/scripts/u*' '*/scripts/gpu_support/'
tar czf "${tarname}" -C "${tartmp}" "${version}"
rm -rf "${tartmp}"

Expand Down

0 comments on commit 04044d8

Please sign in to comment.