gentoo-full-overlay/games-action/openclonk/files/openclonk-wrapper-script.sh

10 lines
229 B
Bash
Raw Normal View History

#!/bin/sh
# wrapper prevents the game to look for .ocp files in the current dir
# which can lead to weird behavior and game freeze
[ -d ~/.clonk/openclonk ] || mkdir -p ~/.clonk/openclonk
cd ~/.clonk/openclonk
exec clonk "$@"