summary refs log tree commit diff
path: root/pkgs/tools/security/pass/no-darwin-getopt.patch
blob: 7e8b66dd7f1a51661b86dbef7b85e76f78b20f88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh
index f6cc471..e2e8bba 100644
--- a/src/platform/darwin.sh
+++ b/src/platform/darwin.sh
@@ -39,6 +39,5 @@ qrcode() {
 	fi
 }
 
-GETOPT="$({ test -x /usr/local/opt/gnu-getopt/bin/getopt && echo /usr/local/opt/gnu-getopt; } || brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt"
 SHRED="srm -f -z"
 BASE64="openssl base64"