From 3295d54e2186f1225b00fb37112f7b764d792400 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 10 May 2004 13:48:23 +0000 Subject: [PATCH] (compare): Fixed argument quoting under eval --- tests/after | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2