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 | e8dc3e6a5f812a4f99a0a43708a0eb1f0a6aa629 (patch) | |
tree | 0228ecc176720e7ae9ac18f6970a9915d5d36067 /lib-src | |
parent | 01da138955d380f546c1cbe2e794391db87d56ac (diff) | |
download | emacs-e8dc3e6a5f812a4f99a0a43708a0eb1f0a6aa629.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 |