File: platform.sh

package info (click to toggle)
lua-cmsgpack 0.4.0~git20230328.57b1f90-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 172 kB
  • sloc: ansic: 726; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if [ -z "$PLATFORM" ]; then
  PLATFORM=$TRAVIS_OS_NAME;
fi

if [ "$PLATFORM" == "osx" ]; then
  PLATFORM="macosx";
fi

if [ -z "$PLATFORM" ]; then
  if [ "$(uname)" == "Linux" ]; then
    PLATFORM="linux";
  else
    PLATFORM="macosx";
  fi;
fi