On 07/19/2012 01:56 PM, Cole Robinson wrote: >>>> -exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@" >>>> +exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
> > Is that any different from /usr/bin/env python though, the change libvirt > made? #! lines have to use an absolute path, but use of /usr/bin/env is a great way to allow a PATH lookup. Your code is not in a #! line. Either way, libvirt's '#!/usr/bin/env python' and your 'exec python' are both doing the same thing - a PATH lookup for the first available python. Like I said, it might not always do the right thing, but let's wait until someone actually files a bug report about it, because it is at least better than forcing a hard-coded call to /usr/bin/python. -- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
_______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
