freebsd-ports/games/warzone2100/files/warzone.in
Simon Barner c360df4eb3 - Fix segmentation fault (it was calling "closedir()" with a NULL pointer
as an argument, in Linux "closedir()" ignores it, but in
  FreeBSD it crashes).
- Fix wrapper script (arguments weren't passed to the real executable).
- Bump port revision

Submitted by:	Alejandro Pulver <alejandro@varnet.biz> (maintainer)
PR:		ports/86480
2005-09-23 08:44:48 +00:00

7 lines
133 B
Bash

#!/bin/sh
# The executable needs to be run from its data directory.
cd %%DATADIR%% || exit 1
exec %%PREFIX%%/libexec/warzone "$@"