On 30 Sep 2014, at 15:35, Jamie Couture wrote:

Ah yes.  I also noticed I wasn't completely silencing 'which' as
well; how about this fixup instead:

-GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || which port 2>/dev/null && echo /opt/local || echo /usr/local)/bin/getopt" +GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port >/dev/null 2>&1 && echo /opt/local; } || echo /usr/local)/bin/getopt"
SHRED="srm -f -z"

Looks good to me, though I personally prefer the &>/dev/null shorthand for redirecting both stdout and stderr.
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to