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)
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))
def disable_la (logger, file_name): loggedos.rename (logger, file_name, file_name + '-')
def disable_la(logger, file_name): loggedos.rename(logger, file_name, file_name + '-')
def execute (self, logger): loggedos.rename (logger, self.src, self.dest)
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))
def execute(self, logger): loggedos.rename(logger, self.src, self.dest)