diff options
| author | Paul Eggert | 1996-09-25 09:53:56 +0000 |
|---|---|---|
| committer | Paul Eggert | 1996-09-25 09:53:56 +0000 |
| commit | f41c4842c0e0065bbe278cf6f749801cd71e97e3 (patch) | |
| tree | 37723cf69b6434e29c037ba4a209f80c9ec8be63 /lib-src | |
| parent | 26c76ace8de7d0fa687d8a76b3a3bce5fb1ee692 (diff) | |
| download | emacs-f41c4842c0e0065bbe278cf6f749801cd71e97e3.tar.gz emacs-f41c4842c0e0065bbe278cf6f749801cd71e97e3.zip | |
(rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT.
Diffstat (limited to 'lib-src')
| -rwxr-xr-x | lib-src/rcs2log | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index 16d7a4cd1d1..3c92f9c84ca 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | # Author: Paul Eggert <eggert@twinsun.com> | 13 | # Author: Paul Eggert <eggert@twinsun.com> |
| 14 | 14 | ||
| 15 | # $Id: rcs2log,v 1.29 1996/08/24 21:11:14 erik Exp eggert $ | 15 | # $Id: rcs2log,v 1.30 1996/08/26 21:20:48 eggert Exp eggert $ |
| 16 | 16 | ||
| 17 | # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 17 | # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. |
| 18 | 18 | ||
| @@ -153,12 +153,6 @@ case $rlog_options in | |||
| 153 | datearg="-d>$date" | 153 | datearg="-d>$date" |
| 154 | esac | 154 | esac |
| 155 | 155 | ||
| 156 | # Use rlog's -zLT option, if rlog supports it. | ||
| 157 | case `rlog -zLT 2>&1` in | ||
| 158 | *'unknown option'*) ;; | ||
| 159 | *) rlog_options=-zLT$nl$rlog_options | ||
| 160 | esac | ||
| 161 | |||
| 162 | # Use TZ specified by ChangeLog local variable, if any. | 156 | # Use TZ specified by ChangeLog local variable, if any. |
| 163 | if test -s "$changelog" | 157 | if test -s "$changelog" |
| 164 | then | 158 | then |
| @@ -203,6 +197,12 @@ else | |||
| 203 | esac | 197 | esac |
| 204 | fi | 198 | fi |
| 205 | 199 | ||
| 200 | # Use $rlog's -zLT option, if $rlog supports it. | ||
| 201 | case `$rlog -zLT 2>&1` in | ||
| 202 | *'unknown option'*) ;; | ||
| 203 | *) rlog_options=-zLT$nl$rlog_options | ||
| 204 | esac | ||
| 205 | |||
| 206 | # With no arguments, examine all files under the RCS directory. | 206 | # With no arguments, examine all files under the RCS directory. |
| 207 | case $# in | 207 | case $# in |
| 208 | 0) | 208 | 0) |