Exemple #1
0
 def move_target_lib (logger, file_name):
     base = os.path.split (self.expand (file_name))[1]
     new_name = os.path.join (self.expand ('%(install_prefix)s%(cross_dir)s/lib'), base)
     if os.path.islink (file_name):
         target = os.path.basename (misc.delinkify (file_name))
         loggedos.symlink (logger, target, new_name)
     else:
         loggedos.rename (logger, file_name, new_name)
Exemple #2
0
 def move_target_lib(logger, file_name):
     base = os.path.split(self.expand(file_name))[1]
     loggedos.rename(
         logger, file_name,
         os.path.join(self.expand('%(install_prefix)s/lib'), base))
Exemple #3
0
 def disable_la (logger, file_name):
     loggedos.rename (logger, file_name, file_name + '-')
Exemple #4
0
 def disable_la(logger, file_name):
     loggedos.rename(logger, file_name, file_name + '-')
Exemple #5
0
 def execute (self, logger):
     loggedos.rename (logger, self.src, self.dest)
Exemple #6
0
 def move_target_lib (logger, file_name):
     base = os.path.split (self.expand (file_name))[1]
     loggedos.rename (logger, file_name, os.path.join (self.expand ('%(install_prefix)s/lib'), base))
Exemple #7
0
 def execute(self, logger):
     loggedos.rename(logger, self.src, self.dest)