r3330 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Feb 3 07:13:14 EST 2008


Author: div0
Date: 2008-02-03 07:13:14 -0500 (Sun, 03 Feb 2008)
New Revision: 3330

Modified:
   trunk/misc/nexuiz-map-compiler
Log:
fix TINY bug in nexuiz-map-compiler


Modified: trunk/misc/nexuiz-map-compiler
===================================================================
--- trunk/misc/nexuiz-map-compiler	2008-02-03 12:02:43 UTC (rev 3329)
+++ trunk/misc/nexuiz-map-compiler	2008-02-03 12:13:14 UTC (rev 3330)
@@ -113,6 +113,7 @@
 }
 
 (my $mapdir = getcwd()) =~ s!/[^/]*(?:$)!!;
+$mapdir = "/" if $mapdir eq "";
 
 unlink "$ENV{HOME}/.q3a/data";
 mkdir "$ENV{HOME}/.q3a";




More information about the nexuiz-commits mailing list