burnimage should also allow passing the version
This commit is contained in:
parent
e949262f36
commit
6546314112
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue