From 09b7af0a1c6600f4a2412958ae66b885c79ff5f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Spiegel?= Date: Sat, 18 Mar 2006 14:47:20 +0000 Subject: [PATCH] Use "echo" as a default for $echo, otherwise we'll execute $DIFF twice, and once with the wrong options. --- lib-src/vcdiff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-src/vcdiff b/lib-src/vcdiff index 52fdaee0f7f..2cba89df421 100755 --- a/lib-src/vcdiff +++ b/lib-src/vcdiff @@ -29,7 +29,7 @@ usage="$0: Usage: vcdiff [--brief] [-q] [-r] [-r] [diffopts] sccsfil PATH=$PATH:/usr/ccs/bin:/usr/sccs:/usr/xpg4/bin # common SCCS hangouts -echo= +echo="echo" sid1= sid2= for f @@ -96,7 +96,7 @@ do workfile=$rev2 esac then - $echo $DIFF $options $sid1 $sid2 $workfile >&2 + $echo $DIFF $options $rev1 $workfile >&2 $DIFF $options $rev1 $workfile s=$? fi -- 2.39.2