-t) ARG_TEST=true;;
--nousepkg) ARG_NOPKG=true;;
--autotest) ARG_AUTOTEST=true;;
+ -h) exec sed -n '/^while/,/^done/p' "$0";;
*) echo "unknown opt: $*"; exit 1;;
esac
shift
$(tfe ${ARG_AUTOTEST} --{,no}withautotest) \
$(tfe ${ARG_NOPKG} --{no,}usepkg) \
$(tfe ${ARG_TEST} --{,no}withtest)
-BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} --test) dev"
+BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} test) dev"
run ${BUILD_IMG}
IMG_TO_USB="./image_to_usb.sh --board=${BOARD} -y --to=${ARG_DEV}"