comparison lib-src/=rcs2log @ 16332:be25bd9150e8

(rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT.
author Paul Eggert <eggert@twinsun.com>
date Wed, 25 Sep 1996 09:53:56 +0000
parents ab395798ed22
children 62c8dbf52487
comparison
equal deleted inserted replaced
16331:32a51f7ba384 16332:be25bd9150e8
10 # Clump together log entries that start with `{topic} ', 10 # Clump together log entries that start with `{topic} ',
11 # where `topic' contains neither white space nor `}'. 11 # where `topic' contains neither white space nor `}'.
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
19 # This program is free software; you can redistribute it and/or modify 19 # This program is free software; you can redistribute it and/or modify
20 # it under the terms of the GNU General Public License as published by 20 # it under the terms of the GNU General Public License as published by
151 esac 151 esac
152 fi 152 fi
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
165 extractTZ=' 159 extractTZ='
166 /^.*change-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*"\([^"]*\)".*/{ 160 /^.*change-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*"\([^"]*\)".*/{
200 echo >&2 "$0: $repository: bad repository (see CVS/Repository)" 194 echo >&2 "$0: $repository: bad repository (see CVS/Repository)"
201 exit 1 195 exit 1
202 fi 196 fi
203 esac 197 esac
204 fi 198 fi
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 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)
209 case $repository in 209 case $repository in