changeset 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 32a51f7ba384
children 585956e62c87
files lib-src/=rcs2log lib-src/rcs2log
diffstat 2 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/=rcs2log	Wed Sep 25 08:01:52 1996 +0000
+++ b/lib-src/=rcs2log	Wed Sep 25 09:53:56 1996 +0000
@@ -12,7 +12,7 @@
 
 # Author: Paul Eggert <eggert@twinsun.com>
 
-# $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 @@
 	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 @@
 	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)
--- a/lib-src/rcs2log	Wed Sep 25 08:01:52 1996 +0000
+++ b/lib-src/rcs2log	Wed Sep 25 09:53:56 1996 +0000
@@ -12,7 +12,7 @@
 
 # Author: Paul Eggert <eggert@twinsun.com>
 
-# $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 @@
 	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 @@
 	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)