From 10cfa1c8a95965c8372e4d4f2a0f46bad16a2f19 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Mar 2019 15:04:18 -0400 Subject: ob-unpacksource: Fix trailing space in command output --- (limited to 'src') 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')" -- cgit v0.9.1