mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-04 23:34:20 +00:00
16 lines
249 B
Bash
16 lines
249 B
Bash
|
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
|