diff options
Diffstat (limited to 'lib/package.sh')
-rw-r--r-- | lib/package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/package.sh b/lib/package.sh index 2ff1623..bd73b83 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -112,11 +112,11 @@ ob_parse_package_metadata() >>"${_obppm_cache_file}" done for _obppm_pkg in $(ob_get_binary_packages); do + _obppm_pkg="$(echo "${_obppm_pkg}" | tr 'a-z' 'A-Z' | \ + tr -dC 'A-Z0-9')" for _obppm_param_name in ${_OB_BINARY_PARAMETERS}; do _obppm_param_value="$(ob_get_binary_parameter "${_obppm_pkg}" \ "${_obppm_param_name}" | sed "s/'/'\\\\''/g")" - _obppm_pkg="$(echo "${_obppm_pkg}" | tr 'a-z' 'A-Z' | \ - tr -dC 'A-Z0-9')" printf "%s='%s'\n" \ "_OB_BINFIELD_${_obppm_pkg}_${_obppm_param_name}" \ "${_obppm_param_value}" \ |