Re: Problem with setup


Nye Liu <nye@...>
 

getopt on macOS is hopelessly broken.

In particular, this line will not work correctly:

options=$(getopt -o b,d,h,s --long help -- "$@")

On Nov 27, 2018, at 7:08 PM, Andrew Bowers <andrew.bowers@...> wrote:

Hello,

I’m trying to run one of the setup commands for the Sample, Binaries and Docker Images:

curl -sSL http://bit.ly/2ysbOFE | bash -s 1.3.0
I’m getting the following error:

ERROR: Unexpected argument: --

    Usage: bash [OPTION]... [version [ca_version [thirdparty_version]]]

    OPTIONS:
        -h|--help Print this message
        -d        Bypass docker image download
        -s        Bypass fabric-samples repo clone
        -b        Bypass download of platform-specific binaries

    EXAMPLES:
        To download docker images for version 1.3.0
        ==> bash -sb 1.3.0

Any idea what is happening?

Thanks
Andrew

This message and any attachments are solely for the intended recipient and may contain confidential or privileged information.  If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited.  If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.

Join fabric@lists.hyperledger.org to automatically receive all group messages.