fix: build.sh
This commit is contained in:
4
build.sh
4
build.sh
@@ -64,12 +64,12 @@ CrontaskSize=27788951
|
||||
RestagentSize=29525312
|
||||
BinWriterDir=${HOME}/bin
|
||||
|
||||
if [ ${shell grep VERSION_ID /etc/os-release} = 'VERSION_ID="22.04"' ]; then
|
||||
if [[ ${shell grep VERSION_ID /etc/os-release} =~ VERSION_ID="22.04" ]]; then
|
||||
DebBuildDir :=${DebBuild2204Dir}
|
||||
DebFEBuildDir :=${DebFEBuild2204Dir}
|
||||
#DebPkgFile :=${PROJECT}-${VERSION}-22.04-${Release).${PLATFORM).deb
|
||||
DebPkgFile :=${PROJECT}-r${VERSION}-${Release}-ub22.deb
|
||||
elif [ ${shell grep VERSION_ID /etc/os-release} = 'VERSION_ID="18.04"' ]; then
|
||||
elif [[ ${shell grep VERSION_ID /etc/os-release} =~ VERSION_ID="18.04" ]]; then
|
||||
DebPkgFile :=${PROJECT}-r${VERSION}-${Release}-ub18.deb
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user