diff options
Diffstat (limited to 'subr/pkg_fetch_extract.subr')
-rw-r--r-- | subr/pkg_fetch_extract.subr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_fetch_extract.subr b/subr/pkg_fetch_extract.subr index eedd84ab..8a9d8319 100644 --- a/subr/pkg_fetch_extract.subr +++ b/subr/pkg_fetch_extract.subr @@ -5,9 +5,9 @@ pkgp_fetch_extract_type() { local _fname="${1}"; if [ "${1##*.tar.}" != "${1}" ]; then - echo "${1##*.tar.}"; + printf "%s" "${1##*.tar.}"; elif [ "${1##*.t}" != "${1}" ]; then - echo "${1##*.t}"; + printf "%s" "${1##*.t}"; fi; }; |