From 564d31ce31815cb3ab727a707a084690147a1df3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 12 Mar 2019 22:31:03 -0400 Subject: _ob_get_upstreamver(), _ob_get_distrev(): Replace echo with printf --- (limited to 'lib') diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index f889be7..d0168ab 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -83,7 +83,7 @@ _ob_get_upstreamver() version="${1}" - echo "${version%-*}" + printf '%s' "${version%-*}" return 0 } @@ -94,7 +94,7 @@ _ob_get_distrev() version="${1}" - echo "${version##*-}" + printf '%s' "${version##*-}" return 0 } -- cgit v0.9.1