Drop quotes around variable strings
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
fe7ecde00f
commit
e0097a27a9
|
@ -120,7 +120,8 @@ post_build() {
|
||||||
catalyst_var() {
|
catalyst_var() {
|
||||||
# Extract a setting from the catalyst.conf.
|
# Extract a setting from the catalyst.conf.
|
||||||
local var=$(grep --color=never -Po "^${1}\s*=\s*\K.*" "${CATALYST_CONFIG}" || true)
|
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() {
|
trigger_post_build() {
|
||||||
|
|
Loading…
Reference in a new issue