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

Hilko Bengen bengen at debian.org
Sat Jun 1 11:05:02 UTC 2013


The following commit has been merged in the experimental branch:
commit b862d95c476b069ee91b793e7c3e0db6ce0bb05d
Author: Hilko Bengen <bengen at hilluzination.de>
Date:   Fri May 17 22:28:18 2013 +0200

    ./run: Turn error message about missing LIBGUESTFS_PATH into warning; output to STDERR
    
    The previous behavior caused the build to abort when trying to build
    the sysprep documentation -- without much of a hint of what went
    wrong.

diff --git a/run.in b/run.in
index 7545f0b..c4771b7 100755
--- a/run.in
+++ b/run.in
@@ -66,9 +66,10 @@ chcon --reference=/tmp tmp 2>/dev/null ||:
 if [ "x at ENABLE_APPLIANCE@" = "xyes" ]; then
     export LIBGUESTFS_PATH="$b/appliance"
 elif [ -z "$LIBGUESTFS_PATH" ]; then
-    echo "run: error: You used './configure --disable-appliance' so you must put an"
-    echo "run: error: appliance somewhere and set LIBGUESTFS_PATH to point to it."
-    exit 1
+    cat <<'EOF' >&2
+run: warning: You used './configure --disable-appliance' so LIBGUESTFS_PATH
+run: warning: has not been set automatically.
+EOF
 fi
 
 if [ -z "$LD_LIBRARY_PATH" ]; then

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list