Command line args not working
Seems to be something wrong with the builder script or my bash env.? . Can get it to accept command line args. Fails on "No platforms defined. Terminating..." when using the examples. I use GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0).
@nstahle Can you show me the exact command that you executed?
Hej!
Thanks for the reply. I got it working now. Don't know if it is my command args that are wrong but i did changed this:
#tmp=`getopt -o $OPTIONS_SHORT -l $OPTIONS_LONG -- "$@"`
tmp=$@
And now it seems to run.
Thanks for an awesome script!!!!
It turns out that the BSD version of getopt [1](the one on your Mac) is totally different from the GNU version (the one that the script assumes).
Your workaround basically turns off the option parsing. But this seems to be not a big problem since the script makes additional checks to ensure that all required options are set.
I'll have a look if I can eliminate the getopt call.