summaryrefslogtreecommitdiffstats
path: root/src/util/libupdate.sh
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-05-11 21:41:12 +0000
committerEzra Peisach <epeisach@mit.edu>1996-05-11 21:41:12 +0000
commit02caabca511dcc6b9b680930eca5dd9e0502d69e (patch)
tree88a652f94c4325855cec46d266567ec22c8dff6c /src/util/libupdate.sh
parent25c6746dd5e5a7a86841960a6bb589bd474f1ffc (diff)
downloadkrb5-02caabca511dcc6b9b680930eca5dd9e0502d69e.tar.gz
krb5-02caabca511dcc6b9b680930eca5dd9e0502d69e.tar.xz
krb5-02caabca511dcc6b9b680930eca5dd9e0502d69e.zip
When invoked with --force, do not use variable before being set
NetBSD complained about trying to use the command "rm -f" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7980 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/libupdate.sh')
-rw-r--r--src/util/libupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/libupdate.sh b/src/util/libupdate.sh
index 09e296d501..05f20317c4 100644
--- a/src/util/libupdate.sh
+++ b/src/util/libupdate.sh
@@ -15,7 +15,7 @@ if test "$1" = "--force"
then
force=yes
arcmd="$ARCHIVE"
- rmcmd="rm -f $library"
+ rmcmd="rm -f $2"
shift
fi