games/yquake2 quote parameters in the wrapper

as they can contain whitespace as pointed out
by jca@ (thanks!).

OK jca@
This commit is contained in:
awolk 2018-02-15 09:56:21 +00:00
parent 2097efe498
commit a4e0fd9de6
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2018/02/14 09:30:10 awolk Exp $
# $OpenBSD: Makefile,v 1.14 2018/02/15 09:56:21 awolk Exp $
ONLY_FOR_ARCHS= i386 amd64 sparc64
@ -8,7 +8,7 @@ V= 7.10
PKGNAME= ${N}-${V}
DISTNAME= quake2-${V}
CATEGORIES= games
REVISION= 1
REVISION= 2
HOMEPAGE= http://www.yamagi.org/quake2/
MAINTAINER= Adam Wolk <awolk@openbsd.org>

View File

@ -1,4 +1,4 @@
#!/bin/sh
cd ${TRUEPREFIX}/share/yquake2
exec ${TRUEPREFIX}/share/yquake2/quake2 $@
exec ${TRUEPREFIX}/share/yquake2/quake2 "$@"