[openstack-dev] [oslo][all] config sample tools on os x
Sergey Lukjanov
slukjanov at mirantis.com
Thu Feb 20 00:13:25 UTC 2014
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 <chmouel at enovance.com>wrote:
>
> On Thu, Feb 20, 2014 at 12:17 AM, Sergey Lukjanov <slukjanov at 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 at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
Sincerely yours,
Sergey Lukjanov
Savanna Technical Lead
Mirantis Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140220/5eb91799/attachment.html>
More information about the OpenStack-dev
mailing list