qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juergen Lock
Subject: [Qemu-devel] patch: configure: nonstandard use of `expr'
Date: Thu, 27 Apr 2006 21:01:05 +0200
User-agent: Mutt/1.4.2.1i

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
   ;;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]