[pass] Problem detecting `getopt' on Mac OS X with MacPorts installed

Jean SIMARD simard.jean at gmail.com
Sat Sep 21 22:19:14 CEST 2013


Great work with this password manager for Unix systems. However, I had a problem running it on Mac OS X with MacPorts installed. It seems that the `darwin.sh’ file is looking for `getopt’ with `brew --prefix gnu-getopt’. On my system, this is the result of this command

$ brew —prefix gnu-getopt

However, there is no such directory on my computer. So Brew is giving unverified information. In the patch, I just proposed to use the `which’ command instead, in order to find `getopt’. This way, it should also works with MacPorts (which default is `/opt/local/bin/getopt’).

Hope this help.

A last thing, I made a patch with Git but this is my first patch so I’m sorry if I did it wrong (and any help and suggestions are welcome for my futures participation).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-looking-for-getopt-program.patch
Type: application/octet-stream
Size: 853 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20130921/4413915c/attachment.obj>
-------------- next part --------------


More information about the Password-Store mailing list