# HG changeset patch # User Andr Spiegel # Date 1142693240 0 # Node ID 130314bad206e2919730a7db7f21626a488a6780 # Parent aed02e3a8c0f36de42a75f98ac6142e98912fdfa Use "echo" as a default for $echo, otherwise we'll execute $DIFF twice, and once with the wrong options. diff -r aed02e3a8c0f -r 130314bad206 lib-src/vcdiff --- a/lib-src/vcdiff Sat Mar 18 14:30:37 2006 +0000 +++ b/lib-src/vcdiff Sat Mar 18 14:47:20 2006 +0000 @@ -29,7 +29,7 @@ PATH=$PATH:/usr/ccs/bin:/usr/sccs:/usr/xpg4/bin # common SCCS hangouts -echo= +echo="echo" sid1= sid2= for f @@ -96,7 +96,7 @@ workfile=$rev2 esac then - $echo $DIFF $options $sid1 $sid2 $workfile >&2 + $echo $DIFF $options $rev1 $workfile >&2 $DIFF $options $rev1 $workfile s=$? fi