rootfs: Fix incorrect getopts call

The `getopts` call in the rootfs builder was incorrect
meaning the `-a $agent_version` option would never have worked.

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
Penny Zheng 2018-05-02 03:12:36 +00:00
parent f7f267213c
commit 7732e0407a

View File

@ -147,7 +147,7 @@ copy_kernel_modules()
OSBUILDER_VERSION="unknown"
while getopts c:ho:r: opt
while getopts a:ho:r: opt
do
case $opt in
a) AGENT_VERSION="${OPTARG}" ;;