diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-28 13:32:53 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-06 15:28:36 +0100 |
commit | 40a7627ad868cea0def487849d57e5c154eca7a3 (patch) | |
tree | fbd8db2ba867fc642a1afb5b19790629e8dc9a19 | |
parent | 2285ad29e71ff1024679384c0f6ee9ad979030cb (diff) | |
download | libguestfs-40a7627ad868cea0def487849d57e5c154eca7a3.tar.gz libguestfs-40a7627ad868cea0def487849d57e5c154eca7a3.tar.xz libguestfs-40a7627ad868cea0def487849d57e5c154eca7a3.zip |
run: Rearrangement and add comments.
No functional change.
(cherry picked from commit 2d56e5af900662ea0a13e9e8ea4a802609214ecc)
-rwxr-xr-x | run.in | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -37,6 +37,8 @@ b=@abs_builddir@ export TMPDIR="$b" # Set local environment relative to this script. +export LIBGUESTFS_PATH="$b/appliance" + library_path="$b/src/.libs:$b/gobject/.libs" if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH=$library_path @@ -45,6 +47,7 @@ else fi export LD_LIBRARY_PATH +# For Perl. if [ -z "$PERL5LIB" ]; then PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" else @@ -52,6 +55,7 @@ else fi export PERL5LIB +# For Python. if [ -z "$PYTHONPATH" ]; then PYTHONPATH="$b/python:$b/python/.libs" else @@ -59,6 +63,7 @@ else fi export PYTHONPATH +# For GObject and friends. if [ -z "$GI_TYPELIB_PATH" ]; then GI_TYPELIB_PATH="$b/gobject" else @@ -66,8 +71,6 @@ else fi export GI_TYPELIB_PATH -export LIBGUESTFS_PATH="$b/appliance" - # Do we have libtool? If we have it then we can use it to make # running valgrind simpler. However don't depend on it. if libtool --help >/dev/null 2>&1; then |