From owner-svn-ports-all@FreeBSD.ORG Sat Oct 6 21:20:27 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id C7906106564A; Sat, 6 Oct 2012 21:20:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [69.147.83.54]) by mx2.freebsd.org (Postfix) with ESMTP id 97E3A14DE58; Sat, 6 Oct 2012 21:20:27 +0000 (UTC) Message-ID: <5070A09B.1090404@FreeBSD.org> Date: Sat, 06 Oct 2012 14:20:27 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20121001 Thunderbird/15.0.1 MIME-Version: 1.0 To: Jason Helfman References: <201210060537.q965bUpk005984@svn.freebsd.org> In-Reply-To: <201210060537.q965bUpk005984@svn.freebsd.org> X-Enigmail-Version: 1.4.4 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, nemysis@gmx.ch, ports-committers@freebsd.org Subject: Re: svn commit: r305338 - in head/games/pycadia: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 21:20:27 -0000 On 10/05/2012 22:37, Jason Helfman wrote: > Added: head/games/pycadia/files/pycadia.sh.in > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/games/pycadia/files/pycadia.sh.in Sat Oct 6 05:37:29 2012 (r305338) > @@ -0,0 +1,6 @@ > +#!/bin/sh > +# > +# $FreeBSD$ > + > +cd "%%DATADIR%%" > +./pycadia.py Unless there is some reason to cd into that directory, you'd be better off with just: %%DATADIR%%/pycadia.py And in any case, shouldn't you be using exec here? -- I am only one, but I am one. I cannot do everything, but I can do something. And I will not let what I cannot do interfere with what I can do. -- Edward Everett Hale, (1822 - 1909)