summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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')"