1
0
Fork 0
forked from mirrors/openup

Protect variables.

This commit is contained in:
Antoine Jacoutot 2013-09-04 09:25:06 +02:00
commit a1cc6fb405

6
openup
View file

@ -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