about summary refs log tree commit diff
path: root/pkgs/tools/security/pass/darwin-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/pass/darwin-getopt.patch')
-rw-r--r--pkgs/tools/security/pass/darwin-getopt.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/security/pass/darwin-getopt.patch b/pkgs/tools/security/pass/darwin-getopt.patch
new file mode 100644
index 000000000000..8cdcd67bc658
--- /dev/null
+++ b/pkgs/tools/security/pass/darwin-getopt.patch
@@ -0,0 +1,11 @@
+diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh
+index 1b76c33..fa40104 100644
+--- a/src/platform/darwin.sh
++++ b/src/platform/darwin.sh
+@@ -31,5 +31,5 @@ tmpdir() {
+ 	mount -t hfs -o noatime -o nobrowse "$ramdisk_dev" "$SECURE_TMPDIR" || exit 1
+ }
+ 
+-GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt"
++GETOPT="getopt"
+ SHRED="srm -f -z"