added the missing sys.path.append to the executable

This commit is contained in:
sebd 2004-08-31 09:08:08 +00:00
parent e5477573c3
commit 02b499ee02
2 changed files with 13 additions and 0 deletions

12
debian/patches/expression-server vendored Normal file
View File

@ -0,0 +1,12 @@
diff -u -r1.2 expression-server
--- expression-server 22 May 2004 18:41:39 -0000 1.2
+++ expression-server 31 Aug 2004 07:53:52 -0000
@@ -25,6 +25,8 @@
import sys
+sys.path.append("/usr/lib/expression/modules")
+
from expression.core.main import main
main()

1
debian/rules vendored
View File

@ -26,6 +26,7 @@ install: build
dh_installdirs
# Commands to install the package into debian/expression
for i in $(CURDIR)/debian/patches/*; do patch < $$i; done
chmod +x ./setup.py
./setup.py install --prefix=$(CURDIR)/debian/expression/usr \
--install-lib $(CURDIR)/debian/expression/usr/lib/expression/modules \