(compare): Fixed argument quoting under eval
[debian/tar] / tests / after
index 427b542293973dbd79f8d5d0f5fe955601824aee..4686789c67ea10a3e555e3be9d37da205d41c400 100755 (executable)
@@ -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