blob: 85568f4c9c52137395f2cd469976b23a3793a0bf [file] [log] [blame] [edit]
--- itstool-2.0.6/itstool.in.orig 2018-11-08 19:11:00.000000000 +0100
+++ itstool-2.0.6/itstool.in 2019-05-12 12:06:05.634677700 +0200
@@ -20,7 +20,8 @@
from __future__ import unicode_literals
VERSION="@VERSION@"
-DATADIR="@DATADIR@"
+import sys, os
+DATADIR = os.path.join(sys.prefix, 'share')
import gettext
import hashlib