summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/data/mac
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:30:54 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:30:54 +0300
commitda6e958319e95fe564d3b30c931492dd666bfaff (patch)
tree16ac1556a573daeba5c9c4b795f86aa166ffe467 /mkspecs/features/data/mac
parent29400a683f96867133b28299c0d0bd6bcf40df35 (diff)
parenta96fc76fa78f3500266b3a34016f9e1bd29b319c (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.11' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Diffstat (limited to 'mkspecs/features/data/mac')
-rwxr-xr-xmkspecs/features/data/mac/objc_namespace.sh6
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..."