diff -u xen-3.2-3.2.0/debian/xen-utils-3.2.xendomains.init xen-3.2-3.2.0/debian/xen-utils-3.2.xendomains.init --- xen-3.2-3.2.0/debian/xen-utils-3.2.xendomains.init +++ xen-3.2-3.2.0/debian/xen-utils-3.2.xendomains.init @@ -183,7 +183,7 @@ { name=`echo "$1" | cut -d\ -f1` name=${name%% *} - rest=`echo "$1" | cut cut -d\ -f2-` + rest=`echo "$1" | cut -d\ -f2-` read id mem cpu vcpu state tm < <(echo "$rest") } @@ -193,7 +193,7 @@ RC=1 while read LN; do parseln "$LN" - if test $id = 0; then continue; fi + if test "$id" = "0"; then continue; fi case $name in ($NM) RC=0 diff -u xen-3.2-3.2.0/debian/changelog xen-3.2-3.2.0/debian/changelog --- xen-3.2-3.2.0/debian/changelog +++ xen-3.2-3.2.0/debian/changelog @@ -1,3 +1,10 @@ +xen-3.2 (3.2.0-0ubuntu11) hardy; urgency=low + + * debian/xen-utils-3.3.xendomains.init: fix cut bug (LP: #216761) + Patch by Carl Fooks + + -- Evan Broder Mon, 15 Dec 2008 22:26:49 -0500 + xen-3.2 (3.2.0-0ubuntu10) hardy; urgency=low * debian/xen-utils-3.2.xendomains.init