]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler
Merge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler
index 7834af0da8b28298baf58c6864947b4cbfcded97..c59a355374448ed487e1bfc7d58a5513327f0aff 100755 (executable)
@@ -9,11 +9,11 @@ use File::Temp;
 # (just copy paste this part to the file ~/.xonotic-map-compiler)
 
        # Path to Xonotic (where the data directory is in)
-       our $XONOTICDIR   = '.';
+       our $XONOTICDIR  = getcwd();
 
        # Path to your q3map2 program. You find it in your GtkRadiant/install
        # directory.
-       our $Q3MAP2      = './netradiant/install/q3map2.x86';
+       our $Q3MAP2      = getcwd() . '/netradiant/install/q3map2.x86';
 
        # General flags for q3map2 (for example -threads 4)
        our $Q3MAP2FLAGS = '-fs_forbiddenpath xonotic*-data*.pk3* -fs_forbiddenpath xonotic*-nexcompat*.pk3*';