]> Dogcows Code - chaz/tar/commitdiff
(compare): Fixed argument quoting under eval
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 13:48:23 +0000 (13:48 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 13:48:23 +0000 (13:48 +0000)
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
This page took 0.028925 seconds and 4 git commands to generate.