Dan Price wrote:
On Tue 25 Aug 2009 at 10:06AM, Ric Aleshire wrote:
I'm looking for a review, and for a volunteer with commit access to do the push:
   http://cr.opensolaris.org/~rica/pkg-10837/
   10837 ipkg zone creation will always warn after changeset 7bdf8c791f04

Why not:

is_brand_labeled() {
        brand_labeled=0
        brand=`/usr/sbin/zoneadm -z $zonename list -p | awk -F: '{print $6}'`
        if [[ $brand = "labeled" ]]; then
                brand_labeled=1
        fi
}

Using double brackets makes ksh{88,93} do the right thing.

        -dp

Well, that works - thanks.  Updated webrev is here:
      http://cr.opensolaris.org/~rica/pkg-10837-v2

And I still need a commit volunteer...

-Ric

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to