dfhack/package/linux/dfhack-run

9 lines
157 B
Plaintext

#!/bin/sh
DF_DIR=$(dirname "$(readlink -f "$0")")
cd "${DF_DIR}"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./hack/libs":"./hack"
exec hack/dfhack-run "$@"