mirror of
https://github.com/AuxXxilium/synology-wireguard.git
synced 2024-11-23 23:11:06 +07:00
Fix build for DSM_VER=7.1
This commit is contained in:
parent
c22b417a2a
commit
e527a5a244
2
build.sh
2
build.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user