diff options
Diffstat (limited to 'db-location.patch')
-rw-r--r-- | db-location.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/db-location.patch b/db-location.patch index 8ca052a7727f..a94d6a5739b3 100644 --- a/db-location.patch +++ b/db-location.patch @@ -1,20 +1,20 @@ --- MEA.py +++ MEA.py -@@ -7654,7 +7654,7 @@ def cse_huffman_dictionary_load(cse_variant, cse_major, cse_minor, verbosity) : - HUFFMAN_SYMBOLS = {}
- HUFFMAN_UNKNOWNS = {}
- mapping_types = {'code' : 0x20, 'data' : 0x60}
-- huffman_dict = os.path.join(mea_dir, 'Huffman.dat')
-+ huffman_dict = '/usr/lib/meanalyzer/Huffman.dat'
-
- # Check if Huffman dictionary version is supported
- if (cse_variant,cse_major) in [('CSME',11),('CSSPS',4)] or (cse_variant,cse_major,cse_minor) in [('CSME',14,5)] : dict_version = 11
-@@ -9011,7 +9011,7 @@ mea_dir = get_script_dir() - arg_num = len(sys.argv)
-
- # Set dependencies paths
--mea_db_path = os.path.join(mea_dir, 'MEA.dat')
-+mea_db_path = '/usr/lib/meanalyzer/MEA.dat'
-
- # Check if dependencies exist
- depend_db = os.path.isfile(mea_db_path)
+@@ -9303,7 +9303,7 @@ def cse_huffman_dictionary_load(cse_variant, cse_major, cse_minor, verbosity) : + HUFFMAN_SYMBOLS = {} + HUFFMAN_UNKNOWNS = {} + mapping_types = {'code' : 0x20, 'data' : 0x60} +- huffman_dict = os.path.join(mea_dir, 'Huffman.dat') ++ huffman_dict = '/usr/lib/meanalyzer/Huffman.dat' + + # Message Verbosity: All | Error | None + +@@ -10835,7 +10835,7 @@ mea_dir = get_script_dir() + arg_num = len(sys.argv) + + # Set dependencies paths +-mea_db_path = os.path.join(mea_dir, 'MEA.dat') ++mea_db_path = '/usr/lib/meanalyzer/MEA.dat' + + # Initialize & Start background Thread for MEA & DB update check + thread_update = Thread_With_Result(target=mea_upd_check, args=(mea_db_path,), daemon=True) |