mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-09 23:01:55 +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
|
||||
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 ):
|
||||
target_dir = os.path.join( dst, root[root.find( '/' )+1:] )
|
||||
print ( target_dir )
|
||||
|
@ -366,6 +366,11 @@ class Config:
|
|||
]:
|
||||
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()
|
||||
|
||||
def CloneBSPC( self ):
|
||||
|
|
Loading…
Reference in a new issue