From: Sergey Poznyakoff Date: Mon, 10 May 2004 13:48:23 +0000 (+0000) Subject: (compare): Fixed argument quoting under eval X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3295d54e2186f1225b00fb37112f7b764d792400;p=chaz%2Ftar (compare): Fixed argument quoting under eval --- diff --git a/tests/after b/tests/after index 427b542..4686789 100755 --- a/tests/after +++ b/tests/after @@ -18,7 +18,7 @@ compare() { mv ${tempfile}.1 ${tempfile} fi - if eval test -z "\${${1}_regex}" ; then + if eval test -z \"\${${1}_regex}\" ; then cmp -s ${tempfile}0 ${tempfile} || exit 1 else awk '{print NR " " $0}' ${tempfile}0 > ${tempfile}.1