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() { readconf() {
while read line ; do while read line ; do
declare -n v=${line%%=*} v=${line%%=*}
[ -z "${v}" ] && eval $line || : [ -z "${!v}" ] && eval $line || :
done <<EOF done <<EOF
$( sed -r -e "/\s*#/d" -e "/^\s*$/d" $1 ) $( sed -r -e "/\s*#/d" -e "/^\s*$/d" $1 )
EOF EOF

Loading…
Cancel
Save