https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
449 B
Diff
11 lines
449 B
Diff
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"
|