diff options
author | André Spiegel <spiegel@gnu.org> | 2006-03-18 14:47:20 +0000 |
---|---|---|
committer | André Spiegel <spiegel@gnu.org> | 2006-03-18 14:47:20 +0000 |
commit | 09b7af0a1c6600f4a2412958ae66b885c79ff5f7 (patch) | |
tree | 646cf345d9f740d597d9b968f0254036b9b97151 /lib-src | |
parent | 1a527e27316c746f0bdc9a2d8a0d6ce4f9a77180 (diff) | |
download | emacs-09b7af0a1c6600f4a2412958ae66b885c79ff5f7.tar.gz |
Use "echo" as a default for $echo, otherwise we'll execute $DIFF
twice, and once with the wrong options.
Diffstat (limited to 'lib-src')
-rwxr-xr-x | lib-src/vcdiff | 4 |
1 files 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<sid1>] [-r<sid2>] [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 |