Commit 26584bc 1 parent f80b156 commit 26584bc Copy full SHA for 26584bc
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
include /usr/share/dpkg/pkg-info.mk
3
3
4
4
OS =$(shell awk '/^NAME=/' /etc/os-release | sed 's/NAME=//' | sed 's/\"//g' | tr '[:upper:]' '[:lower:]')
5
- OSVERSION =$(shell awk '/VERSION=/' /etc/os-release | sed 's/VERSION=//' | sed 's/\"//g' | sed 's/[.]0/./')
5
+ OS_VERSION =$(shell awk '/VERSION=/' /etc/os-release | sed 's/VERSION=//' | sed 's/\"//g' | sed 's/[.]0/./')
6
6
ARCH =$(shell dpkg-architecture -qDEB_TARGET_MULTIARCH)
7
7
ENABLE_UAB_SUPPORT =FALSE
8
8
ENABLE_STATIC_BOX =FALSE
9
9
10
- ifeq ($(OS ) $(VERSION ) , deepin 23)
10
+ ifeq ($(OS ) $(OS_VERSION ) , deepin 23)
11
11
ENABLE_UAB_SUPPORT =TRUE
12
12
ENABLE_STATIC_BOX =TRUE
13
13
endif
14
14
15
- ifeq ($(OS ) $(VERSION ) , uos 20)
15
+ ifeq ($(OS ) $(OS_VERSION ) , uos 20)
16
16
ENABLE_UAB_SUPPORT =TRUE
17
17
ENABLE_STATIC_BOX =TRUE
18
18
endif
You can’t perform that action at this time.
0 commit comments