summaryrefslogtreecommitdiff
path: root/src/platform/cygwin.sh
diff options
context:
space:
mode:
authorJamie Couture <jamie.couture@gmail.com>2014-09-09 21:39:01 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-09-21 19:52:36 +0200
commit0916d4f1f7d35bb7420054fd148be500a678ea91 (patch)
treecdbb2afcc584f8a62ff0bb0e24c85fb205b98c02 /src/platform/cygwin.sh
parent71a1618e6e49c22bb78ec8e7b164a41df5440a77 (diff)
downloadpass-0916d4f1f7d35bb7420054fd148be500a678ea91.tar.gz
pass-0916d4f1f7d35bb7420054fd148be500a678ea91.tar.bz2
pass-0916d4f1f7d35bb7420054fd148be500a678ea91.zip
platform: find getopt in alternate osx locations
Some users may use MacPorts instead of Homebrew. If brew fails to return a prefix for getopt, check if the user has 'port' installed and use the MacPort ${prefix} /opt/local. Avoids an issue where pass terminates because getopt cannot be resolved in the assumed location /usr/local/bin. Provide support to resolve absolute path of getopt from a MacPorts installation. Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
Diffstat (limited to 'src/platform/cygwin.sh')
0 files changed, 0 insertions, 0 deletions