]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
remove relative paths
authorRudolf Polzer <divverent@xonotic.org>
Sun, 23 Jun 2013 16:35:39 +0000 (18:35 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 23 Jun 2013 16:35:39 +0000 (18:35 +0200)
misc/tools/xonotic-map-compiler

index aa9e747d955585a9a10bff3e243720e0b16d1764..9bc58073d16b6a9eee249758ddde6098fbcb2975 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*';