Permalink
Browse files

added path for harmattan

  • Loading branch information...
xerxes2 committed Jul 19, 2011
1 parent 18327fc commit 859b06805d723a46471ab0298e0657ecc9a84394
Showing with 4 additions and 5 deletions.
  1. +4 −5 bin/panucci
View
@@ -53,14 +53,13 @@ if len(args) > 1 or ( opts.queue_filename and len(args) ):
parser.print_help()
sys.exit(1)
# add src/ to the PYTHONPATH
local_module_dir = os.path.join(os.path.dirname(sys.argv[0]), '..', 'src')
if os.path.isdir(local_module_dir):
sys.path.insert(0, local_module_dir)
optified_install_path = '/opt/panucci/lib/'
if os.path.isdir(optified_install_path):
sys.path.append(optified_install_path)
if os.path.isdir('/opt/panucci/lib/'):
sys.path.append('/opt/panucci/lib/')
else:
sys.path.append('/usr/share/panucci/lib/')
from panucci import main
main.run(opts, args)

0 comments on commit 859b068

Please sign in to comment.