Re: Guile-SDL Demos 3.0 available
Andy Wingo <[email protected]> Tue, 10 Jan 2012 22:18:45 +0100
| Newsgroups | gmane.lisp.guile.user,gmane.lisp.guile.sources |
|---|---|
| Message-ID | <[email protected]> |
On Thu 22 Dec 2011 18:35, Thien-Thi Nguyen <[email protected]> writes: > - programs can be run from anywhere > > Previously, programs had to be invoked from their own directory, > to able to find their data files (i.e., they looked in "."). > Now, they look in ‘(dirname (car (command-line)))’. Note that > this will fail for symlinks, so if you want to "install" a > program in ~/bin, for instance, the best way is to create a > small shell wrapper: > > #!/bin/sh > exec /path/to/guile-sdl-demos-3.0/PROG/PROG "$@" > > Perhaps we will support "make install" in a future release... If you want to, it's probably easier to use `readlink' than to document the strangeness :-) Andy -- http://wingolog.org/