16 lines
554 B
Diff
16 lines
554 B
Diff
diff -Naur dblatex-0.3.11py3/scripts/dblatex dblatex-0.3.11py3-new/scripts/dblatex
|
|
--- dblatex-0.3.11py3/scripts/dblatex 2020-01-29 13:48:34.000000000 -0800
|
|
+++ dblatex-0.3.11py3-new/scripts/dblatex 2020-02-25 01:04:16.169346434 -0800
|
|
@@ -1,8 +1,10 @@
|
|
#! /usr/bin/env python
|
|
import sys
|
|
import os
|
|
+import logging
|
|
|
|
-package_base = os.path.join(os.path.dirname(sys.argv[0]), "..")
|
|
+logging.basicConfig()
|
|
+package_base = "/usr/share/dblatex"
|
|
sys.path.insert(0, os.path.realpath(os.path.join(package_base, "lib")))
|
|
|
|
from dbtexmf.dblatex import dblatex
|