summaryrefslogtreecommitdiff
path: root/games/heretic2-demo/files/wrapper.sh
blob: c08fd20951863a851a3b7655bc4740b0c87e6a2a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e
# $NetBSD: wrapper.sh,v 1.2 2002/03/12 15:01:34 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@@ "$@"