Merge "ast_coredumper: Don't use "declare -n"" into 13

13.24
George Joseph 7 years ago committed by Gerrit Code Review
commit 1300f8b490

@ -235,8 +235,8 @@ declare -a ARGS_COREDUMPS
readconf() {
while read line ; do
declare -n v=${line%%=*}
[ -z "${v}" ] && eval $line || :
v=${line%%=*}
[ -z "${!v}" ] && eval $line || :
done <<EOF
$( sed -r -e "/\s*#/d" -e "/^\s*$/d" $1 )
EOF

Loading…
Cancel
Save