fix setup target
authorTTimo <ttimo@ttimo.net>
Sat, 13 Sep 2008 16:12:55 +0000 (16:12 +0000)
committerTTimo <ttimo@ttimo.net>
Sat, 13 Sep 2008 16:12:55 +0000 (16:12 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@321 8a3a26a2-13c4-0310-b231-cf6edde360e5

config.py

index b8c4856bc59837b709e5e0565617e063b49dd96c..30f623df25ef6e42645593f26b327611757afeea 100644 (file)
--- a/config.py
+++ b/config.py
@@ -267,7 +267,11 @@ class Config:
                                self.CheckoutOrUpdate( svnurl, os.path.join( path, 'installs', pak ) )
 
        def Setup( self ):
-               if ( platform == 'local' ):
+               try:
+                       self.setup_platforms.index( 'local' )
+               except:
+                       pass
+               else:
                        # special case, fetch external paks under the local install directory
                        self.FetchGamePaks( self.install_directory )
                # NOTE: unrelated to self.setup_platforms - grab support files and binaries and install them