From 4ac8a4734671a22e1765b6e0cd73761ce2321c4f Mon Sep 17 00:00:00 2001 From: div0 Date: Sun, 3 Feb 2008 12:13:14 +0000 Subject: [PATCH] fix TINY bug in nexuiz-map-compiler git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3330 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- misc/nexuiz-map-compiler | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/nexuiz-map-compiler b/misc/nexuiz-map-compiler index 68257e519..88c311a0c 100755 --- a/misc/nexuiz-map-compiler +++ b/misc/nexuiz-map-compiler @@ -113,6 +113,7 @@ sub q3map2(@) } (my $mapdir = getcwd()) =~ s!/[^/]*(?:$)!!; +$mapdir = "/" if $mapdir eq ""; unlink "$ENV{HOME}/.q3a/data"; mkdir "$ENV{HOME}/.q3a"; -- 2.39.2