From: Paul Eggert Date: Wed, 25 Sep 1996 09:53:56 +0000 (+0000) Subject: (rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT. X-Git-Tag: emacs-20.1~3612 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f41c4842c0e0065bbe278cf6f749801cd71e97e3;p=emacs.git (rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT. --- 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 @@ # Author: Paul Eggert -# $Id: rcs2log,v 1.29 1996/08/24 21:11:14 erik Exp eggert $ +# $Id: rcs2log,v 1.30 1996/08/26 21:20:48 eggert Exp eggert $ # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. @@ -153,12 +153,6 @@ case $rlog_options in datearg="-d>$date" esac -# Use rlog's -zLT option, if rlog supports it. -case `rlog -zLT 2>&1` in -*'unknown option'*) ;; -*) rlog_options=-zLT$nl$rlog_options -esac - # Use TZ specified by ChangeLog local variable, if any. if test -s "$changelog" then @@ -203,6 +197,12 @@ else esac fi +# Use $rlog's -zLT option, if $rlog supports it. +case `$rlog -zLT 2>&1` in +*'unknown option'*) ;; +*) rlog_options=-zLT$nl$rlog_options +esac + # With no arguments, examine all files under the RCS directory. case $# in 0)