Skip to content

Commit

Permalink
fix bash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 28, 2024
1 parent 90889e3 commit 7fd016a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/tasks/matlab/rename_macos_dynamic_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,19 @@ set -ex

if [ "$#" -ne 2 ]; then
echo "Usage: $0 <dylib-dir> <arch>"
exit
exit 1
fi

DYLIB_DIR=${1}
ARCH=${2}

if ["$ARCH" == "arm64"]; then
if [ "$ARCH" == "arm64" ]; then
IS_ARM64=1
elif ["$ARCH" == "x64"]; then
elif [ "$ARCH" == "x64" ]; then
IS_ARM64=0
else
echo "<arch> must be arm64 or x64"
exit
exit 1
fi

ORIG_DIR=$(pwd)
Expand Down

0 comments on commit 7fd016a

Please sign in to comment.