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-06-28 13:32:53 +0100 |
commit | 2d56e5af900662ea0a13e9e8ea4a802609214ecc (patch) | |
tree | 1474fa1580a321202aa61714c68f7690b521be84 /run.in | |
parent | 927ef14c584524a16e8be3fb7eff6cd3ee880ce6 (diff) | |
download | libguestfs-2d56e5af900662ea0a13e9e8ea4a802609214ecc.tar.gz libguestfs-2d56e5af900662ea0a13e9e8ea4a802609214ecc.tar.xz libguestfs-2d56e5af900662ea0a13e9e8ea4a802609214ecc.zip |
run: Rearrangement and add comments.
No functional change.
Diffstat (limited to 'run.in')
-rw-r--r-- | run.in | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -45,6 +45,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 @@ -53,6 +55,7 @@ else fi export LD_LIBRARY_PATH +# For Perl. if [ -z "$PERL5LIB" ]; then PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" else @@ -60,6 +63,7 @@ else fi export PERL5LIB +# For Python. if [ -z "$PYTHONPATH" ]; then PYTHONPATH="$b/python:$b/python/.libs" else @@ -67,6 +71,7 @@ else fi export PYTHONPATH +# For GObject and friends. if [ -z "$GI_TYPELIB_PATH" ]; then GI_TYPELIB_PATH="$b/gobject" else @@ -74,8 +79,6 @@ else fi export GI_TYPELIB_PATH -export LIBGUESTFS_PATH="$b/appliance" - # This is a cheap way to find some use-after-free and uninitialized # read problems when using glibc. random_val="$(awk 'BEGIN{srand(); print 1+int(255*rand())}' < /dev/null)" |