* 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
+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.
ARCHIVE="@ARCHIVE@"
force=
+rmcmd=
arcmd="$ARADD"
if test "$1" = "--force"
then
force=yes
arcmd="$ARCHIVE"
+ rmcmd="rm -f $library"
shift
fi
echo "Updating library $library from $oblist"
+$rmcmd
$arcmd $library `cat $oblist | \
sed -e "s;^\([^ ]*\);$dir/\1;g" -e "s; \([^ ]*\); $dir/\1;g"`