forked from mtcontrib/leaftest
Abort if the map directory is missing
This commit is contained in:
parent
89cd4b5a91
commit
a5d3d2d9ec
@ -16,6 +16,12 @@ if [ ! -f $mapperpath ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$MAPDIR" ]; then
|
||||
echo "Error, the directory \"$MAPDIR\" doesn't exist."
|
||||
echo "Please specify the path to the minetest world"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f downscaling/perc ]; then
|
||||
echo "Using SSIM based downscaling"
|
||||
downscale() {
|
||||
|
Loading…
Reference in New Issue
Block a user