mariadb10.11/mariadb-shebang.patch

16 lines
708 B
Diff
Raw Normal View History

2018-10-05 17:44:01 +00:00
*** WARNING: mangling shebang in /usr/bin/myrocks_hotbackup from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually!
Maintainer's note:
This script is not python3 compatible:
ModuleNotFoundError: No module named 'commands'
2019-01-09 08:56:03 +00:00
diff -Naurp mariadb-10.3.12/storage/rocksdb/myrocks_hotbackup.py mariadb-10.3.12/storage/rocksdb/myrocks_hotbackup.py_patched
--- mariadb-10.3.12/storage/rocksdb/myrocks_hotbackup.py 2019-01-04 16:28:50.000000000 +0100
+++ mariadb-10.3.12/storage/rocksdb/myrocks_hotbackup.py_patched 2019-01-08 12:00:54.468750863 +0100
2018-10-05 17:44:01 +00:00
@@ -1,4 +1,4 @@
2019-01-09 08:56:03 +00:00
-#!@PYTHON_SHEBANG@
2018-10-05 17:44:01 +00:00
+#!/usr/bin/python2
from __future__ import division
from optparse import OptionParser