Commit e0efffa4 authored by Łukasz Nowak's avatar Łukasz Nowak

Use locally provided perl to run perl binary.

parent c19a91fc
...@@ -817,7 +817,7 @@ SSLRandomSeed connect builtin ...@@ -817,7 +817,7 @@ SSLRandomSeed connect builtin
incremental_backup = os.path.join(backup_directory, 'incremental') incremental_backup = os.path.join(backup_directory, 'incremental')
self._createDirectory(full_backup) self._createDirectory(full_backup)
self._createDirectory(incremental_backup) self._createDirectory(incremental_backup)
innobackupex_argument_list = [self.options['innobackupex_binary'], '--defaults-file=%s' % mysql_conf_path, '--socket=%s' %mysql_conf['socket'].strip(), '--user=root'] innobackupex_argument_list = [self.options['perl_binary'], self.options['innobackupex_binary'], '--defaults-file=%s' % mysql_conf_path, '--socket=%s' %mysql_conf['socket'].strip(), '--user=root']
environment = dict(PATH=':'.join([self.bin_directory] + os.environ['PATH'].split(':'))) environment = dict(PATH=':'.join([self.bin_directory] + os.environ['PATH'].split(':')))
innobackupex_incremental = zc.buildout.easy_install.scripts([('innobackupex_incremental', innobackupex_incremental = zc.buildout.easy_install.scripts([('innobackupex_incremental',
__name__ + '.execute', 'executee')], self.ws, __name__ + '.execute', 'executee')], self.ws,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment