summaryrefslogtreecommitdiffstats
path: root/src/ob-unpacksource.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 15:04:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 15:04:18 (EDT)
commit10cfa1c8a95965c8372e4d4f2a0f46bad16a2f19 (patch)
tree31773068a66f21f5bbbf879dbf76bfc4dad12bf5 /src/ob-unpacksource.sh
parent40611783e2f6eb474814bdb75bdcdb2c82594056 (diff)
ob-unpacksource: Fix trailing space in command output
Diffstat (limited to 'src/ob-unpacksource.sh')
-rw-r--r--src/ob-unpacksource.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh
index a7e0ebe..74b385c 100644
--- a/src/ob-unpacksource.sh
+++ b/src/ob-unpacksource.sh
@@ -39,6 +39,7 @@ get_upstream_archive()
{
upstream_ar_base="${OPK_SOURCE}-${OPK_SOURCE_VERSION_UPSTREAM}.orig.tar"
upstream_ar="$(printf '%s ' "../${upstream_ar_base}"*)"
+ upstream_ar="${upstream_ar% }"
case "${upstream_ar}" in
"../${upstream_ar_base}*")
ob_info "$(ob_get_msg 'no_sources')"