Created
September 26, 2023 22:16
-
-
Save keisisqrl/e7f54716a401cb15c4b225203b11a6c2 to your computer and use it in GitHub Desktop.
openslides diff to make build.sh work on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dev/docker/build.sh b/dev/docker/build.sh | |
index ee237616c..71d0094b0 100755 | |
--- a/dev/docker/build.sh | |
+++ b/dev/docker/build.sh | |
@@ -1,4 +1,4 @@ | |
-#!/bin/bash | |
+#!/opt/homebrew/opt/bash/bin/bash | |
set -e | |
@@ -54,7 +54,7 @@ fi | |
shortopt="hr:D:t:" | |
longopt="help,docker-repo:,tag:,no-cache,ask-push,yes,images" | |
-ARGS=$(getopt -o "$shortopt" -l "$longopt" -n "$ME" -- "$@") | |
+ARGS=$(/opt/homebrew/opt/gnu-getopt/bin/getopt -o "$shortopt" -l "$longopt" -n "$ME" -- "$@") | |
if [ $? -ne 0 ]; then usage; exit 1; fi | |
eval set -- "$ARGS"; | |
unset ARGS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment