forked from mirrors/openup
Protect variables.
This commit is contained in:
parent
41ee3307f5
commit
a1cc6fb405
1 changed files with 3 additions and 3 deletions
6
openup
6
openup
|
|
@ -221,15 +221,15 @@ done
|
|||
[ $# = $(($OPTIND-1)) ] || usage
|
||||
|
||||
if [ -z "${checkmode}" ]; then
|
||||
if [ -z $noselfupdate ]; then update_self; fi
|
||||
if [ -z $nosig ]; then get_cert; fi
|
||||
if [ -z "${noselfupdate}" ]; then update_self; fi
|
||||
if [ -z "${nosig}" ]; then get_cert; fi
|
||||
update_binpatches
|
||||
update_pkg
|
||||
else
|
||||
if [ "${nosig}" -o "${noselfupdate}" -o "${dryrun}" -a -z "${_RUN2}" ]; then
|
||||
usage
|
||||
fi
|
||||
if [ -z $noselfupdate ]; then update_self >/dev/null; fi
|
||||
if [ -z "${noselfupdate}" ]; then update_self >/dev/null; fi
|
||||
check_vuxml
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue