From: Rudolf Polzer Date: Sat, 28 Jul 2012 10:28:44 +0000 (+0200) Subject: ./all update-maps: check for unzip X-Git-Tag: xonotic-v0.7.0~52^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d99890aa2d0cf1103571891a15407ffb86bb74a;p=xonotic%2Fxonotic.git ./all update-maps: check for unzip --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 5884e65c..0ef0c1fe 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -361,6 +361,10 @@ case "$1" in runmakeindex ;; download) + if ! which unzip >/dev/null 2>&1; then + echo "Cannot find unzip, bailing out" + exit 1 + fi if ! cd data/xonotic-maps.pk3dir >/dev/null 2>&1; then echo "data/xonotic-maps.pk3dir does not exist, not downloading" exit 0