[Pkg-xen-changes] r978 - in trunk/xen/debian: . scripts

Bastian Blank waldi at alioth.debian.org
Sat Apr 14 16:11:56 UTC 2012


Author: waldi
Date: Sat Apr 14 16:11:56 2012
New Revision: 978

Log:
* debian/changelog: Update.
* debian/scripts/xen-toolstack: Fix to work with older dash.

Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/scripts/xen-toolstack

Modified: trunk/xen/debian/changelog
==============================================================================
--- trunk/xen/debian/changelog	Sat Apr 14 12:47:49 2012	(r977)
+++ trunk/xen/debian/changelog	Sat Apr 14 16:11:56 2012	(r978)
@@ -1,11 +1,15 @@
 xen (4.1.2-4) UNRELEASED; urgency=low
 
+  [ Bastian Blank ]
   * Build-depend on ipxe-qemu instead of ipxe. (closes: #665070)
   * Don't longer use a4wide latex package.
   * Use ucf for /etc/default/xen.
   * Remove handling for old udev rules link and xenstored directory.
   * Rename xend init script to xen.
 
+  [ Lionel Elie Mamane ]
+  * Fix toolstack script to work with old dash. (closes: #648029)
+
  -- Bastian Blank <waldi at debian.org>  Sat, 14 Apr 2012 13:20:57 +0200
 
 xen (4.1.2-3) unstable; urgency=low

Modified: trunk/xen/debian/scripts/xen-toolstack
==============================================================================
--- trunk/xen/debian/scripts/xen-toolstack	Sat Apr 14 12:47:49 2012	(r977)
+++ trunk/xen/debian/scripts/xen-toolstack	Sat Apr 14 16:11:56 2012	(r978)
@@ -5,11 +5,13 @@
 dir=$(. /usr/lib/xen-common/bin/xen-dir); ret=$?; [ $ret -eq 0 ] || exit $ret
 
 check() {
+    local PATH
     if [ "$1" = xm ] || [ "$1" = xl ]; then
-        PATH="$dir/bin" command -v "$1"
+        PATH="$dir/bin"
     else
-        PATH="$dir/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" command -v "$1"
+        PATH="$dir/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
     fi
+    command -v "$1"
 }
 
 if [ -e $configfile ]; then



More information about the Pkg-xen-changes mailing list