Mercurial > hg > batmud > gmap2
changeset 87:4e7d0bc500c4 gmap2
Actually build the maputils tools.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 16 Oct 2011 01:28:35 +0300 |
parents | 2ea7fe9f9c1d |
children | 0aeb58e12384 |
files | tools/makegmaps.php |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/makegmaps.php Sun Oct 16 01:28:22 2011 +0300 +++ b/tools/makegmaps.php Sun Oct 16 01:28:35 2011 +0300 @@ -111,6 +111,11 @@ passthru($tmp) == 0 or die("Error executing: ".$tmp."\n"); } +$tmp = "cd ".escapeshellarg($mapUtils)." && make"; +echo "* $tmp\n"; +passthru($tmp) == 0 or die("Error executing: ".$tmp."\n"); + + if (!file_exists($mkloc)) die($mkloc." not found. Maputils package not built, or some other error occured.\n");