Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwample committed Oct 29, 2024
1 parent ec4cfae commit 4d88af5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wireguard/build-wireguard-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This script is used to build wireguard-go libraries for all the platforms.

stringContain() {
function stringContain() {
case $2 in
"$1" ) return 0;;

Expand All @@ -17,7 +17,7 @@ stringContain() {

which getopt
echo "$(uname -s)"
if stringContain "$(uname -s)", "Darwin"; then
if stringContain "$(uname -s)" "Darwin"; then
echo "using gnu-getopt - $(which gnu-getopt)"
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
fi
Expand Down

0 comments on commit 4d88af5

Please sign in to comment.