svn commit: r305338 - in head/games/pycadia: . files

Doug Barton dougb at FreeBSD.org
Sat Oct 6 21:20:27 UTC 2012


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)



More information about the svn-ports-all mailing list