Browse Source

use correct png path variable

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
f97bb1d253
  1. 2
      chunkymap-regen.py

2
chunkymap-regen.py

@ -634,7 +634,7 @@ class MTChunks:
if os.path.isfile(region_capable_script_path): if os.path.isfile(region_capable_script_path):
script_path = region_capable_script_path script_path = region_capable_script_path
cmd_suffix=" > entire-mtmresult.txt" cmd_suffix=" > entire-mtmresult.txt"
cmd_string="sudo python /home/owner/minetest/util/minetestmapper.py --input \"/home/owner/.minetest/worlds/FCAGameAWorld\" --output \""+dest_png_path+"\""+cmd_suffix cmd_string="sudo python /home/owner/minetest/util/minetestmapper.py --input \"/home/owner/.minetest/worlds/FCAGameAWorld\" --output \""+tmp_png_path+"\""+cmd_suffix
#sudo python /home/owner/minetest/util/minetestmapper.py --input "/home/owner/.minetest/worlds/FCAGameAWorld" --output /var/www/html/minetest/chunkymapdata/entire.png > entire-mtmresult.txt #sudo python /home/owner/minetest/util/minetestmapper.py --input "/home/owner/.minetest/worlds/FCAGameAWorld" --output /var/www/html/minetest/chunkymapdata/entire.png > entire-mtmresult.txt
# sudo mv entire-mtmresult.txt /home/owner/minetest/util/chunkymap-genresults/ # sudo mv entire-mtmresult.txt /home/owner/minetest/util/chunkymap-genresults/

Loading…
Cancel
Save