summarylogtreecommitdiffstats
path: root/xash_ded
blob: 0c8af4c0ef7e4a2902551e0b401be8f487ca314b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

export XASH3D_BASEDIR="$HOME/.xash3d"

if [ ! -d "$XASH3D_BASEDIR" ]; then
    echo "$XASH3D_BASEDIR not found. Create a new one and put gamefiles into it (e.g. $XASH3D_BASEDIR/valve/)"
    exit 1
fi

/usr/local/bin/xash "$@"