From 58a5fd09b8b973c7fbd7ec48ccc73b9424dfe8e0 Mon Sep 17 00:00:00 2001 From: Badger Date: Fri, 30 Jun 2017 11:10:18 +0300 Subject: [PATCH] fix param --geometry --- mapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapper.sh b/mapper.sh index aebde0a..f3fc633 100755 --- a/mapper.sh +++ b/mapper.sh @@ -74,7 +74,7 @@ do posy=$(($spawny+$tilesize*($tilenum/2-$y))) # Execute sh -c "something" printf "%s\x00" "-c" - printf "$prefix_pipefail ; $mapperpath ${MAPPERPARAMS} -i ${MAPDIR} --geometry ${posx},${posy}+${tilesize}+${tilesize} -o ${tiledir}/20/map_${x}_${y}.png \ + printf "$prefix_pipefail ; $mapperpath ${MAPPERPARAMS} -i ${MAPDIR} --geometry ${posx}:${posy}+${tilesize}+${tilesize} -o ${tiledir}/20/map_${x}_${y}.png \ 2> >(>&2 prefix '[TILEGEN 20/map_${x}_${y}.png ERR]: ') | prefix '[TILEGEN 20/map_${x}_${y}.png]: ' \ || (>&2 echo 'minetesmapper for tile [${x},${y}] ended with non zero exit code'; exit 255)\x00" done