Drop quotes around variable strings

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2023-03-05 23:42:46 +01:00
parent fe7ecde00f
commit e0097a27a9
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A

View file

@ -120,7 +120,8 @@ post_build() {
catalyst_var() {
# Extract a setting from the catalyst.conf.
local var=$(grep --color=never -Po "^${1}\s*=\s*\K.*" "${CATALYST_CONFIG}" || true)
[[ -z ${var} ]] || echo "${var}"
local vas=$(echo $var|sed -e 's:^"::g' -e 's:"$::g')
[[ -z ${vas} ]] || echo "${vas}"
}
trigger_post_build() {