diff -u xen-3.3-3.3.0/debian/changelog xen-3.3-3.3.0/debian/changelog --- xen-3.3-3.3.0/debian/changelog +++ xen-3.3-3.3.0/debian/changelog @@ -1,3 +1,10 @@ +xen-3.3 (3.3.0-1ubuntu8) jaunty; urgency=low + + * debian/xen-utils-3.3.xendomains.init: fix cut bug (LP: #216761). + Patch by Carl Fooks + + -- Evan Broder Sat, 13 Dec 2008 12:35:28 -0500 + xen-3.3 (3.3.0-1ubuntu7) intrepid; urgency=low * debian/libxen3.install: remove usr/lib/lib* diff -u xen-3.3-3.3.0/debian/xen-utils-3.3.xendomains.init xen-3.3-3.3.0/debian/xen-utils-3.3.xendomains.init --- xen-3.3-3.3.0/debian/xen-utils-3.3.xendomains.init +++ xen-3.3-3.3.0/debian/xen-utils-3.3.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