updates: fix running core_sign_update from update.zip

This commit is contained in:
Michael Marineau 2014-06-25 22:41:24 -07:00
parent f1c81df7f3
commit 112b60690c

View File

@ -10,6 +10,9 @@
# --public_keys update.pub.pem:update2.pub.pem
SCRIPT_ROOT=$(dirname $(readlink -f "$0"))
# We have to simple-mindedly set GCLIENT_ROOT in case we're running from
# au-generator.zip because common.sh will fail while auto-detect it.
export GCLIENT_ROOT=$(readlink -f "${SCRIPT_ROOT}/../../")
. "${SCRIPT_ROOT}/common.sh" || exit 1
DEFINE_string image "" "The image that should be sent to clients."