We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90889e3 commit 7fd016aCopy full SHA for 7fd016a
dev/tasks/matlab/rename_macos_dynamic_libraries.sh
@@ -94,19 +94,19 @@ set -ex
94
95
if [ "$#" -ne 2 ]; then
96
echo "Usage: $0 <dylib-dir> <arch>"
97
- exit
+ exit 1
98
fi
99
100
DYLIB_DIR=${1}
101
ARCH=${2}
102
103
-if ["$ARCH" == "arm64"]; then
+if [ "$ARCH" == "arm64" ]; then
104
IS_ARM64=1
105
-elif ["$ARCH" == "x64"]; then
+elif [ "$ARCH" == "x64" ]; then
106
IS_ARM64=0
107
else
108
echo "<arch> must be arm64 or x64"
109
110
111
112
ORIG_DIR=$(pwd)
0 commit comments