From c07007fb1ec011435f8fa2ef8b80b1943046d4fc Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 13 Jan 2010 14:37:46 +0000 Subject: [PATCH] add warning for missing game packs git-svn-id: svn://svn.icculus.org/netradiant/trunk@419 61c419a2-8eb2-4b30-bcec-8cead039b335 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index eb164622..e0de1809 100644 --- a/Makefile +++ b/Makefile @@ -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; \ -- 2.39.2