[coreboot] r3359 - trunk/coreboot-v2/util/abuild
svn at coreboot.org
svn at coreboot.org
Wed May 28 10:40:23 CEST 2008
Author: stepan
Date: 2008-05-28 10:40:23 +0200 (Wed, 28 May 2008)
New Revision: 3359
Modified:
trunk/coreboot-v2/util/abuild/abuild
Log:
abuild: fix gnu getopt detection (trivial)
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/util/abuild/abuild
===================================================================
--- trunk/coreboot-v2/util/abuild/abuild 2008-05-27 23:51:55 UTC (rev 3358)
+++ trunk/coreboot-v2/util/abuild/abuild 2008-05-28 08:40:23 UTC (rev 3359)
@@ -495,7 +495,9 @@
verbose=false
# parse parameters.. try to find out whether we're running GNU getopt
-if [ "`getopt -V`" == "getopt.*" ]; then
+getoptbrand="`getopt -V`"
+if [ "${getoptbrand:0:6}" == "getopt" ]; then
+ # Detected GNU getopt that supports long options.
args=`getopt -l version,verbose,help,all,target:,broken,payloads:,test,cpus:,silent,xml Vvhat:bp:Tc:sx -- "$@"`
eval set "$args"
else
More information about the coreboot
mailing list