diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/abuild/abuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild index 96d19cd61b..2d1382acca 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -495,7 +495,9 @@ LBROOT=$( cd ../..; pwd ) 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 |