diff options
Diffstat (limited to 'lib/metadata')
-rw-r--r-- | lib/metadata/proteanos.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |