From: Theodore Tso <tytso@mit.edu>
Date: Sat, 18 May 1996 06:07:05 +0000 (+0000)
Subject: Define $library from the positional arguments before --force uses $library
X-Git-Tag: krb5-1.0-beta6~70
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a43e7cec80eb540ff54b797384d9891c1ee224f;p=krb5.git

Define $library from the positional arguments before --force uses $library

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8046 dc483132-0cff-0310-8789-dd5450dbe970
---

diff --git a/src/util/ChangeLog b/src/util/ChangeLog
index d96f078f0..511155aa4 100644
--- a/src/util/ChangeLog
+++ b/src/util/ChangeLog
@@ -1,3 +1,8 @@
+Sat May 18 02:05:39 1996  Theodore Y. Ts'o  <tytso@mit.edu>
+
+	* libupdate.sh: Define $library from the positional arguments
+		before --force uses $library.
+
 Tue Apr 16 22:26:36 1996  Ken Raeburn  <raeburn@cygnus.com>
 
 	Wed Mar  6 05:02:36 1996  Mark Eichin  <eichin@cygnus.com>
diff --git a/src/util/libupdate.sh b/src/util/libupdate.sh
index 09e296d50..8ef868331 100644
--- a/src/util/libupdate.sh
+++ b/src/util/libupdate.sh
@@ -8,6 +8,10 @@
 ARADD="@ARADD@"
 ARCHIVE="@ARCHIVE@"
 
+library=$1
+oblist=$2
+dir=$3
+
 force=
 rmcmd=
 arcmd="$ARADD"
@@ -19,10 +23,6 @@ then
 	shift
 fi
 
-library=$1
-oblist=$2
-dir=$3
-
 stamp=`echo $library | sed -e 's/.a$/.stamp/'`
 
 if test "$force" != yes -a -f $stamp && \