add warning for missing game packs

git-svn-id: svn://svn.icculus.org/netradiant/trunk@419 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2010-01-13 14:37:46 +00:00
parent 3d6c9280c6
commit c07007fb1e

View File

@ -958,6 +958,10 @@ install-data: binaries
[ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/
set -ex; \
for GAME in games/*; do \
if [ x"$$GAME" = x"games/*" ]; then \
echo; echo "*** NO GAME PACKS FOUND ***"; echo "Please run download-gamepacks.sh and try again."; echo; echo; \
continue; \
fi; \
if [ -d "$$GAME/tools" ]; then \
GAME=$$GAME/tools; \
fi; \