1
0
mirror of https://github.com/YGGverse/xash3d-fwgs.git synced 2025-03-13 06:21:08 +00:00

23 lines
314 B
Bash

die()
{
exit 1
}
die_configure()
{
cat build/config.log
die
}
if [ -n "$TRAVIS_BUILD_DIR" ]; then
BUILDDIR=$TRAVIS_BUILD_DIR
elif [ -n "$GITHUB_WORKSPACE" ]; then
BUILDDIR=$GITHUB_WORKSPACE
fi
if [ -n "$TRAVIS_CPU_ARCH" ]; then
ARCH=$TRAVIS_CPU_ARCH
elif [ -n "$GH_CPU_ARCH" ]; then
ARCH=$GH_CPU_ARCH
fi