]> granicus.if.org Git - graphviz/commitdiff
Fix code to remove svg and ps comments
authorerg <devnull@localhost>
Mon, 29 Oct 2007 17:50:33 +0000 (17:50 +0000)
committererg <devnull@localhost>
Mon, 29 Oct 2007 17:50:33 +0000 (17:50 +0000)
rtest/rtest.sh

index e6508e56670071bb4fe3764214b09017e6a7e73d..6e60141b220252f9871a00aa15a76579ea768847 100755 (executable)
@@ -129,7 +129,8 @@ function doDiff
 {
    FILE1=$OUTDIR/$OUTFILE
    FILE2=$REFDIR/$OUTFILE
-   case $3 in
+   F=${3%%:*}
+   case $F in
     ps )
       mv $FILE1 $TMPFILE 
       awk -f strps.awk $TMPFILE > $FILE1