aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gpg-error-config-new.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpg-error-config-new.in b/src/gpg-error-config-new.in
index 1a03cf9..3b31a68 100644
--- a/src/gpg-error-config-new.in
+++ b/src/gpg-error-config-new.in
@@ -50,7 +50,7 @@ remove_var_expr () {
___varname=$1
shift
- eval echo \"\${@#\\\$\\\{$___varname\\\}}\"
+ expr "$*" : "\${$___varname}\\(.*\\)"
}
# Given a string, substitute variables.