blob: c00bdd23205df66c76156f74998b488d620d5715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh -e
# $NetBSD: wrapper.sh,v 1.1.1.1 2003/06/19 16:44:07 wiz Exp $
# Simple wrapper for lgp's @@BINNAME@@
# Linux binary calls mkdir for this with a trailing '/'
if [ ! -d $HOME/.lgp ];then
mkdir $HOME/.lgp
fi
if [ ! -d $HOME/.lgp/maj_demo ];then
mkdir $HOME/.lgp/maj_demo
fi
cd @@LIBDIR@@
exec ./@@BINNAME@@ "$@"
|