[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, experimental, updated. debian/1%1.21.40-1

Richard W.M. Jones rjones at redhat.com
Sat Jun 1 11:04:24 UTC 2013


The following commit has been merged in the experimental branch:
commit d9f5829ebe7b10d6b4193c08c5bee1d2df4fd0c6
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Apr 30 12:48:44 2013 +0100

    python: Fix for separated builds.
    
    Ensure that ./run sets PYTHONPATH to include the Python source
    directory (location of guestfs.py).

diff --git a/run.in b/run.in
index 1edc8e4..6e0b63d 100755
--- a/run.in
+++ b/run.in
@@ -83,9 +83,9 @@ export PERL5LIB
 # For Python.
 export PYTHON=@PYTHON@
 if [ -z "$PYTHONPATH" ]; then
-    PYTHONPATH="$b/python:$b/python/.libs"
+    PYTHONPATH="$s/python:$b/python:$b/python/.libs"
 else
-    PYTHONPATH="$b/python:$b/python/.libs:$PYTHONPATH"
+    PYTHONPATH="$s/python:$b/python:$b/python/.libs:$PYTHONPATH"
 fi
 export PYTHONPATH
 

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list