diff lib-src/vcdiff @ 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 3661e9b3c48f
children 3d45362f1d38 b901f4f12f33 e3bacb89536a
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