Wed Mar 6 05:02:36 1996 Mark Eichin <eichin@cygnus.com>
authorKen Raeburn <raeburn@mit.edu>
Wed, 17 Apr 1996 02:30:09 +0000 (02:30 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 17 Apr 1996 02:30:09 +0000 (02:30 +0000)
* libupdate.sh: $ARCHIVE does not delete when creating. Explicitly remove
$library when using --force.

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

src/util/ChangeLog
src/util/libupdate.sh

index 04416270b38bf3c27c709cb9dea63d78eea387a6..d96f078f0bbf45c3ec98db054bd4cd15fd3fe69d 100644 (file)
@@ -1,3 +1,10 @@
+Tue Apr 16 22:26:36 1996  Ken Raeburn  <raeburn@cygnus.com>
+
+       Wed Mar  6 05:02:36 1996  Mark Eichin  <eichin@cygnus.com>
+
+       * libupdate.sh: $ARCHIVE does not delete when creating. Explicitly
+       remove $library when using --force.
+
 Fri Mar 29 16:42:24 1996  Richard Basch  <basch@lehman.com>
 
        * makeshlib.sh: Added support for SunOS shared libraries.
index c56775f018dd905029fd50f809c5f76023c6b5a1..09e296d501eb16e3421124c4f19ef98b25e38298 100644 (file)
@@ -9,11 +9,13 @@ ARADD="@ARADD@"
 ARCHIVE="@ARCHIVE@"
 
 force=
+rmcmd=
 arcmd="$ARADD"
 if test "$1" = "--force" 
 then
        force=yes
        arcmd="$ARCHIVE"
+       rmcmd="rm -f $library"
        shift
 fi
 
@@ -32,6 +34,7 @@ fi
 
 echo "Updating library $library from $oblist"
 
+$rmcmd
 $arcmd $library `cat $oblist | \
                sed -e "s;^\([^ ]*\);$dir/\1;g" -e "s; \([^ ]*\); $dir/\1;g"`