From 8d09ae1b30d6b0ab1edd8e7fa5f3f3a015c1fd35 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 23 Jun 2013 18:35:39 +0200 Subject: [PATCH] remove relative paths --- misc/tools/xonotic-map-compiler | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools/xonotic-map-compiler b/misc/tools/xonotic-map-compiler index aa9e747d..9bc58073 100755 --- a/misc/tools/xonotic-map-compiler +++ b/misc/tools/xonotic-map-compiler @@ -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*'; -- 2.39.2