You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/dblatex/files/dblatex-path-logging.patch

16 lines
537 B

diff -Naur dblatex-0.3.7-orig/scripts/dblatex dblatex-0.3.7/scripts/dblatex
--- dblatex-0.3.7-orig/scripts/dblatex 2015-08-07 10:47:53.000000000 +0100
+++ dblatex-0.3.7/scripts/dblatex 2015-11-08 22:30:50.362571505 +0000
@@ -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.append(os.path.realpath(os.path.join(package_base, "lib")))
from dbtexmf.dblatex import dblatex