On 04/27/2012 04:16 PM, Peter Maydell wrote: > On 27 April 2012 22:55, Eric Blake <[email protected]> wrote: >> Shorter (and probably faster) to write this as: >> >> add_to_libs() { >> case " $LIBS " in >> " $1 ") ;; >> *) LIBS="$1 $LIBS" ;; >> esac >> } > > ...doesn't that need to be > *" $1 "*) ;;
Yep; that's what I get for typing without testing. -- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
