diff options
Diffstat (limited to 'mkspecs/features/data/mac')
-rwxr-xr-x | mkspecs/features/data/mac/objc_namespace.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/features/data/mac/objc_namespace.sh b/mkspecs/features/data/mac/objc_namespace.sh index 16af001fa8..b24c5f071c 100755 --- a/mkspecs/features/data/mac/objc_namespace.sh +++ b/mkspecs/features/data/mac/objc_namespace.sh @@ -116,7 +116,7 @@ read_32bit_value() { otool_args= otool() { - command otool $otool_args $* + command otool $otool_args "$@" } declare -a extra_classnames_files @@ -234,13 +234,13 @@ if [ "${mach_header[0]}" != "MH_MAGIC_64" ]; then exit 1 fi -architectures=$(otool -f -v $target | grep architecture) +architectures=$(otool -f -v "$target" | grep architecture) setup_arch() { arch="$1" if [ ! -z "$arch" ]; then otool_args="-arch $arch" - offset=$(otool -f -v $target | grep -A 6 "architecture $arch" | grep offset) + offset=$(otool -f -v "$target" | grep -A 6 "architecture $arch" | grep offset) offset="${offset##*( )}" arch_offset="$(echo $offset | cut -d ' ' -f 2)" echo "🤖 Processing architecture '$arch' at offset $arch_offset..." |