Skip to content
Snippets Groups Projects
Commit a29cefe5 authored by George Joseph's avatar George Joseph
Browse files

ast_coredumper: Don't use "declare -n"

Change-Id: I7ddfed4cd6549a0cd458e4d5cf9ac95d784de6cb
parent 1a6e97bf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment