Setting temporary pathing in bash script.
I'm trying to get nethack to run. I got it built, but it's not finding the sysconf file, which is there. I can see it.
I'm thinking it's just making a generic call, but because the path to sysconf is not in $PATH, it's not finding it. I only want the pathing for when I run the game. I don't want to make it permanent in my .profile. Is this possible? |
PATH is only used to find executables, not for config files. That should be something else.
Code:
PATH=<value> command args |
why are you compiling it?
which distro are you using? on Ubuntu alone there's 4 different versions in the repos. |
Quote:
|
Quote:
ADDENDUM: Please disregard. I must have been doing something wrong or a subsequent compile worked or something, because it suddenly started to see the file. All is well. |
All times are GMT -5. The time now is 10:39 AM. |