[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile-SDL Demos 3.0 available
From: |
Andy Wingo |
Subject: |
Re: Guile-SDL Demos 3.0 available |
Date: |
Tue, 10 Jan 2012 22:18:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Thu 22 Dec 2011 18:35, Thien-Thi Nguyen <address@hidden> 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/
- Re: Guile-SDL Demos 3.0 available,
Andy Wingo <=