Re: [Qemu-devel] patch: configure: nonstandard use of `expr'

2006-04-27 Thread Juergen Lock
In article <[EMAIL PROTECTED]> you write: >Juergen Lock wrote: >> At least FreeBSD's expr(1) doesnt understand the syntax now used in >> configure: >> >> Index: qemu/configure >> @@ -157,7 +157,7 @@ >> fi >> >> for opt do >> - optarg=`expr "$opt" : '[^=]*=\(.*\)'` >> + optarg=`echo "$opt" |s

Re: [Qemu-devel] patch: configure: nonstandard use of `expr'

2006-04-27 Thread Jamie Lokier
Juergen Lock wrote: > At least FreeBSD's expr(1) doesnt understand the syntax now used in > configure: > > Index: qemu/configure > @@ -157,7 +157,7 @@ > fi > > for opt do > - optarg=`expr "$opt" : '[^=]*=\(.*\)'` > + optarg=`echo "$opt" |sed 's/^[^=]*=//'` >case "$opt" in >--help|-h)

[Qemu-devel] patch: configure: nonstandard use of `expr'

2006-04-27 Thread Juergen Lock
At least FreeBSD's expr(1) doesnt understand the syntax now used in configure: Index: qemu/configure @@ -157,7 +157,7 @@ fi for opt do - optarg=`expr "$opt" : '[^=]*=\(.*\)'` + optarg=`echo "$opt" |sed 's/^[^=]*=//'` case "$opt" in --help|-h) show_help=yes ;; _