Thread: Linux question
View Single Post
  #1  
Old August 6th, 2008, 02:45 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Linux question

Has anyone messed with setting the paths from a script?
I have this in the script...
mappath="$DIR"
localmappath="$DIR"
temppath="$DIR"
export mappath="$DIR"
export localmappath="$DIR"
export temppath="$DIR"
env > env.txt

and the env.txt does show this...
mappath=/home/domgames/dominions3/savedgames/bl_gutted
localmappath=/home/domgames/dominions3/savedgames/bl_gutted
temppath=/home/domgames/dominions3/savedgames/bl_gutted

But the log file shows this....
Version version 3.17 (317)dbglevel 1 pc_endian
datapath='/usr/local/games/dominions3'
confpath='/home/domgames/dominions3'
savepath='/home/domgames/dominions3/savedgames'
modpath='/home/domgames/dominions3/mods'
mappath='/usr/local/games/dominions3/maps'
localmappath='/home/domgames/dominions3/maps'
temppath='/tmp/dominions3_38122'

And the game blows up saying it cant find the map.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote