diff options
-rwxr-xr-x | bin/interpret-mail | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail index cc7690e..1d6bf7f 100755 --- a/bin/interpret-mail +++ b/bin/interpret-mail @@ -5,7 +5,7 @@ # shellcheck source=../lib/load-configuration . "${0%/*}/../lib/load-configuration" -# TODO: remove hard-coded package suffixes +# TODO: remove hard-coded default package suffixes # shellcheck disable=SC2016 if [ $# -ne 0 ]; then @@ -275,7 +275,7 @@ fi if [ -s "${tmp_dir}/copy-to-build-support" ]; then sed -i ' - /\.pkg\.tar\.\(xz\|zst\)$/!s/$/.pkg.tar.zst/ + /\.pkg\.\('"${package_compression_suffix_regex}"'\)$/!s/$/.pkg.tar.zst/ ' "${tmp_dir}/copy-to-build-support" if run_and_log_on_error 'copy-to-build-support' "${base_dir}/bin/copy-to-build-support" --wait "${tmp_dir}/copy-to-build-support"; then log 1 'copy-to-build-support' "$(wc -l < "${tmp_dir}/copy-to-build-support")" @@ -324,7 +324,7 @@ fi if [ -s "${tmp_dir}/stabilize" ]; then sed -i ' - /\.pkg\.tar\.\(xz\|zst\)$/!s/$/.pkg.tar.zst/ + /\.pkg\.\('"${package_compression_suffix_regex}"'\)$/!s/$/.pkg.tar.zst/ ' "${tmp_dir}/stabilize" if run_and_log_on_error 'stabilize' "${base_dir}/bin/modify-package-state" --wait --tested "${tmp_dir}/stabilize"; then log 1 'stabilize' "$(wc -l < "${tmp_dir}/stabilize")" |