Another option is to conditionally use different getopt args like: if OSX: use getopt w/o long opts else: use powerful getopt w/ long opts
It adds some inconsistency to the script but makes it useful for OS X users. Anyway, it's still possible to just use it w/o args to ensure latest config. On Thu, Feb 20, 2014 at 4:01 AM, Chmouel Boudjnah <chmo...@enovance.com>wrote: > > On Thu, Feb 20, 2014 at 12:17 AM, Sergey Lukjanov > <slukja...@mirantis.com>wrote: > >> tools/config/generate_sample.sh isn't working on OS X due to the getopt >> usage. Any recipes / proposals to fix it? I have a workaround at least. >> > > > thanks for the workaround, I had a look on this while reporting bug > https://bugs.launchpad.net/heat/+bug/1261370, the easy way would be to > use bash builtin getopt but that would mean we would have to drop long > options. > > Is dropping long options an (pun not sure if it's intended) option? > > Chmouel. > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Sincerely yours, Sergey Lukjanov Savanna Technical Lead Mirantis Inc.
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev