Matt, your script doesn't seem to work. Ontop of that, it doesn't check
if $1 is set. Ontop of that, you have a space in the PYTHONDIR so it
isn't even properly set. Maybe this is better:


#!/bin/bash
#
# Wrapper script to start xenman
#

if [ $# -eq 1 -a $1 == "--xendir" ]; then
         echo -n `ls -d /usr/lib/xen /usr/lib/xen-* | sort | head -n1`
         exit 0
fi
PYTHONPATH=$PYTHONPATH:`xenman --xendir`:/lib/python python 
/usr/share/xenman/src/xenman.py

-- 
doesn't manage local machine
https://bugs.launchpad.net/bugs/76500
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to