mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-07 19:12:20 +01:00
23 lines
314 B
Bash
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
|