2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-24 10:50:58 +01:00
xash3d-fwgs/scripts/lib.sh

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