burnimage should also allow passing the version

This commit is contained in:
fewtarius 2022-02-08 06:36:46 -05:00
parent e949262f36
commit 6546314112
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -2,7 +2,12 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
export OS_VERSION=$(date +%Y%m%d)
if [ -z "$1" ]
then
export OS_VERSION=$(date +%Y%m%d)
else
OS_VERSION=$1
fi
if [ -z "${DISTRO}" ] || [ -z "${DEVICE}" ] || [ -z "${ARCH}" ]
then