changeset 69559:130314bad206

Use "echo" as a default for $echo, otherwise we'll execute $DIFF twice, and once with the wrong options.
author André Spiegel <spiegel@gnu.org>
date Sat, 18 Mar 2006 14:47:20 +0000
parents aed02e3a8c0f
children dab2f548eda2
files lib-src/vcdiff
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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