[ocrfeeder] Fix the sys path for the CLI



commit 3f891e30c2cfe17e36fa9b86f69c8f0509d91c8e
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Oct 28 19:17:17 2011 +0200

    Fix the sys path for the CLI

 bin/ocrfeeder-cli.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/ocrfeeder-cli.in b/bin/ocrfeeder-cli.in
index c08d848..8431e89 100644
--- a/bin/ocrfeeder-cli.in
+++ b/bin/ocrfeeder-cli.in
@@ -21,7 +21,7 @@
 
 import sys
 import os
-local_src = os.path.dirname(os.path.abspath(__file__)) + '../src'
+local_src = os.path.dirname(os.path.abspath(__file__)) + '/../src'
 if os.path.exists(local_src):
     sys.path = [local_src] + sys.path
 installed_src = os.path.join('@prefix@', 'lib', 'python PYTHON_VERSION@',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]