[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:23 UTC 2013


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

    ./run: Set s= (srcdir).  Use absolute paths.

diff --git a/run.in b/run.in
index 066358a..33f979c 100755
--- a/run.in
+++ b/run.in
@@ -2,6 +2,8 @@
 # libguestfs 'run' programs locally script
 # Copyright (C) 2011-2013 Red Hat Inc.
 #
+# @configure_input@
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
@@ -41,8 +43,10 @@ if [ "$1" = "--test" ]; then
     shift
 fi
 
-# Find this script.
-b=@abs_builddir@
+# Source and build directories (absolute paths so this works from any
+# directory).
+s="$(cd @abs_srcdir@ && pwd)"
+b="$(cd @abs_builddir@ && pwd)"
 
 # Set T to current date & time (mainly for valgrind logfile name).
 T=`date +%Y%m%d.%H.%M.%S`

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list