Fix build for DSM_VER=7.1

This commit is contained in:
Nickolai Zeldovich 2022-10-11 22:33:07 -04:00 committed by sebthom
parent c22b417a2a
commit e527a5a244

View File

@ -36,7 +36,7 @@ if [[ ! -d /pkgscripts-ng ]] || [ -z "$(ls -A /pkgscripts-ng)" ]; then
clone_args=""
# If the DSM version is 7.0, use the DSM7.0 branch of pkgscripts-ng
if [[ "$DSM_VER" =~ ^7\.[0-9]+$ ]]; then
clone_args="-b DSM7.0"
clone_args="-b DSM${DSM_VER}"
export PRODUCT="DSM"
fi
git clone ${clone_args} https://github.com/SynologyOpenSource/pkgscripts-ng