mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-02-07 17:11:20 +00:00
copy bobtoolz content during setup
This commit is contained in:
parent
6bf30aea6b
commit
cbb3fc5f03
1 changed files with 6 additions and 1 deletions
|
@ -261,7 +261,7 @@ class Config:
|
||||||
svnurl = 'svn://svn.icculus.org/gtkradiant-gamepacks/%s/trunk' % pak
|
svnurl = 'svn://svn.icculus.org/gtkradiant-gamepacks/%s/trunk' % pak
|
||||||
self.CheckoutOrUpdate( svnurl, os.path.join( path, 'installs', pak ) )
|
self.CheckoutOrUpdate( svnurl, os.path.join( path, 'installs', pak ) )
|
||||||
|
|
||||||
def CopyTree( self, src, dst):
|
def CopyTree( self, src, dst ):
|
||||||
for root, dirs, files in os.walk( src ):
|
for root, dirs, files in os.walk( src ):
|
||||||
target_dir = os.path.join( dst, root[root.find( '/' )+1:] )
|
target_dir = os.path.join( dst, root[root.find( '/' )+1:] )
|
||||||
print ( target_dir )
|
print ( target_dir )
|
||||||
|
@ -366,6 +366,11 @@ class Config:
|
||||||
]:
|
]:
|
||||||
shutil.copy( os.path.join( srcdir, x64_dll ), 'install/x64' )
|
shutil.copy( os.path.join( srcdir, x64_dll ), 'install/x64' )
|
||||||
|
|
||||||
|
# copy extra bobtoolz content
|
||||||
|
if ( os.path.exists( 'install/modules/bt' ) ):
|
||||||
|
shutil.rmtree( 'install/modules/bt' )
|
||||||
|
shutil.copytree( 'contrib/bobtoolz/bt', 'install/modules/bt' )
|
||||||
|
|
||||||
self.CloneBSPC()
|
self.CloneBSPC()
|
||||||
|
|
||||||
def CloneBSPC( self ):
|
def CloneBSPC( self ):
|
||||||
|
|
Loading…
Reference in a new issue