File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,16 @@ pause () {
4242 fi
4343}
4444
45+ # sane default
46+ PLATFORM=linux
4547
4648DISTRIB_RELEASE=${DISTRIB_RELEASE:- any}
4749
4850# is it linux enough ?
4951if [ -f /etc/lsb-release ]
5052then
5153 . /etc/lsb-release
52- export PLATFORM=linux
54+ PLATFORM=linux
5355else
5456 # is it Debian
5557 if [ -f /etc/os-release ]
6769fi
6870
6971export DISTRIB=" ${DISTRIB_ID} -${DISTRIB_RELEASE} "
70-
72+ export PLATFORM
7173export SDKROOT=${SDKROOT:-/ tmp/ sdk}
7274
7375# default is behave like a CI
Original file line number Diff line number Diff line change @@ -42,14 +42,16 @@ pause () {
4242 fi
4343}
4444
45+ # sane default
46+ PLATFORM=linux
4547
4648DISTRIB_RELEASE=${DISTRIB_RELEASE:- any}
4749
4850# is it linux enough ?
4951if [ -f /etc/lsb-release ]
5052then
5153 . /etc/lsb-release
52- export PLATFORM=linux
54+ PLATFORM=linux
5355else
5456 # is it Debian
5557 if [ -f /etc/os-release ]
6769fi
6870
6971export DISTRIB=" ${DISTRIB_ID} -${DISTRIB_RELEASE} "
70-
72+ export PLATFORM
7173export SDKROOT=${SDKROOT:-/ tmp/ sdk}
7274
7375# default is behave like a CI
You can’t perform that action at this time.
0 commit comments