Am 09.11.2012 09:37, schrieb Fabian Greffrath:
That way, if you have a doom.wad in your current directory and type "vavoom -iwad doom.wad" it will take this file. If the file is absent, then it will take the one from the next directory in the iwaddirs array, i.e. typically /u/s/g/d/doom.wad. Thus, relative paths works as before, but precedence is taken by files that satisfy the path based on the current working directory.
Erm, we can have all of this without any source code changes if we just changed the -iwaddir parameter in the /u/g/vavoom wrapper script to read "-iwaddir . / /usr/share/games/doom/", i.e. we merely add "." and "/" to take care of relative and absolute paths respectively.
- Fabian -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

