summaryrefslogtreecommitdiff
path: root/games/quake3arena-demo/files/wrapper.sh
blob: 4d649e2ed0e4bccceb35717053014d8543e0ce71 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e
# $NetBSD: wrapper.sh,v 1.1.1.1 2000/12/09 18:25:05 wiz 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@@ $@