updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / pytrainer / pathfix.patch
blob46581c3eb68172c3011ffebb0fe6829117fbce43
1 diff -crB src/pytrainer-1.8.0/bin/pytrainer src/pytrainer-1.8.0_2//bin/pytrainer
2 *** src/pytrainer-1.8.0/bin/pytrainer 2010-11-30 00:58:12.000000000 +0200
3 --- src/pytrainer-1.8.0_2/bin/pytrainer 2011-01-13 20:39:27.536666679 +0200
4 ***************
5 *** 77,85 ****
6 gettext_path = base_path + "/locale"
7 else:
8 print("running pytrainer from egg installation")
9 ! data_path = base_path + "/share/pytrainer/"
10 site_path = "%s/lib/python%s.%s/site-packages" % (base_path, ver[0], ver[1])
11 ! gettext_path = base_path + "/share/locale"
13 print "data_path: " + data_path
14 print "gettext_path: " + gettext_path
15 --- 77,85 ----
16 gettext_path = base_path + "/locale"
17 else:
18 print("running pytrainer from egg installation")
19 ! data_path = base_path + "/pytrainer/"
20 site_path = "%s/lib/python%s.%s/site-packages" % (base_path, ver[0], ver[1])
21 ! gettext_path = base_path + "/locale"
23 print "data_path: " + data_path
24 print "gettext_path: " + gettext_path