summaryrefslogtreecommitdiff
path: root/games/heretic2-demo/files/wrapper.sh
blob: 8b5d4345d8e33caa9e187c06c1b48392ea10503d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e
# $NetBSD: wrapper.sh,v 1.1.1.1 2000/10/16 12:24:58 abs Exp $
# Simple wrapper for lokigames @@BINNAME@@

# linux binary calls mkdir for this with a trailing '/'
if [ ! -d $HOME/.loki ];then
    mkdir $HOME/.loki
fi
cd @@LIBDIR@@
exec ./@@BINNAME@@ $@