diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/metadata.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh index c7c62a6..8ce838d 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -134,12 +134,12 @@ ob_parse_version() fi if [ -n "${upstreamver_var}" ]; then - eval ${upstreamver_var}="$(_ob_metadata_do 'get_upstreamver' \ - "${version}")" + eval "${upstreamver_var}=\"\$(_ob_metadata_do 'get_upstreamver' \ + "${version}")\"" fi if [ -n "${distrev_var}" ]; then - eval ${distrev_var}="$(_ob_metadata_do 'get_distrev' \ - "${version}")" + eval "${distrev_var}=\"\$(_ob_metadata_do 'get_distrev' \ + "${version}")\"" fi return 0 |