xonotic-map-compiler: forbid "evil" dirs too
authorRudolf Polzer <divverent@alientrap.org>
Sat, 7 Aug 2010 15:40:47 +0000 (17:40 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 7 Aug 2010 15:40:47 +0000 (17:40 +0200)
misc/tools/xonotic-map-compiler

index 427ee97103200293a248bcd4f57ebb6a6271a207..58c8e6c7aa59b691bbd0ad40216b43ae8f1b3a59 100755 (executable)
@@ -16,7 +16,7 @@ use File::Temp;
        our $Q3MAP2      = '/home/rpolzer/Games/Xonotic/netradiant/install/q3map2.x86';
 
        # General flags for q3map2 (for example -threads 4)
-       our $Q3MAP2FLAGS = '';
+       our $Q3MAP2FLAGS = '-fs_forbiddenpath xonotic-data.pk3 -fs_forbiddenpath xonotic-data.pk3dir -fs_forbiddenpath xonotic-nexcompat.pk3 -fs_forbiddenpath xonotic-nexcompat.pk3dir';
 
        # Default flags for the -bsp stage
        our $BSPFLAGS    = '-meta -samplesize 8 -minsamplesize 4 -mv 1000000 -mi 6000000';