From 2f796a581706a53a408486ad81d6fc434d82dc6b Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 31 Dec 2020 10:54:32 +0200 Subject: [PATCH] fix argument with spaces handling in triple prefixed tool wrappers --- deps/system/bin/aarch64-apple-darwin-ar | 2 +- deps/system/bin/aarch64-apple-darwin-dsymutil | 2 +- deps/system/bin/aarch64-apple-darwin-g++ | 2 +- deps/system/bin/aarch64-apple-darwin-gcc | 2 +- deps/system/bin/aarch64-apple-darwin-lipo | 2 +- deps/system/bin/aarch64-apple-darwin-nm | 2 +- deps/system/bin/aarch64-apple-darwin-nmedit | 2 +- deps/system/bin/aarch64-apple-darwin-objdump | 2 +- deps/system/bin/aarch64-apple-darwin-otool | 2 +- deps/system/bin/aarch64-apple-darwin-ranlib | 2 +- deps/system/bin/aarch64-apple-darwin-strip | 2 +- deps/system/bin/x86_64-apple-darwin-ar | 2 +- deps/system/bin/x86_64-apple-darwin-dsymutil | 2 +- deps/system/bin/x86_64-apple-darwin-g++ | 2 +- deps/system/bin/x86_64-apple-darwin-gcc | 2 +- deps/system/bin/x86_64-apple-darwin-lipo | 2 +- deps/system/bin/x86_64-apple-darwin-nm | 2 +- deps/system/bin/x86_64-apple-darwin-nmedit | 2 +- deps/system/bin/x86_64-apple-darwin-objdump | 2 +- deps/system/bin/x86_64-apple-darwin-otool | 2 +- deps/system/bin/x86_64-apple-darwin-ranlib | 2 +- deps/system/bin/x86_64-apple-darwin-strip | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/deps/system/bin/aarch64-apple-darwin-ar b/deps/system/bin/aarch64-apple-darwin-ar index 8a640efa..ea208a54 100755 --- a/deps/system/bin/aarch64-apple-darwin-ar +++ b/deps/system/bin/aarch64-apple-darwin-ar @@ -1,2 +1,2 @@ #!/bin/sh -ar $* +ar "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-dsymutil b/deps/system/bin/aarch64-apple-darwin-dsymutil index 34b64733..0d147a26 100755 --- a/deps/system/bin/aarch64-apple-darwin-dsymutil +++ b/deps/system/bin/aarch64-apple-darwin-dsymutil @@ -1,2 +1,2 @@ #!/bin/sh -dsymutil --arch=arm64 $* +dsymutil --arch=arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-g++ b/deps/system/bin/aarch64-apple-darwin-g++ index a1261314..11e19dd9 100755 --- a/deps/system/bin/aarch64-apple-darwin-g++ +++ b/deps/system/bin/aarch64-apple-darwin-g++ @@ -1,2 +1,2 @@ #!/bin/sh -g++ -arch arm64 $* +g++ -arch arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-gcc b/deps/system/bin/aarch64-apple-darwin-gcc index e653f186..ac03e374 100755 --- a/deps/system/bin/aarch64-apple-darwin-gcc +++ b/deps/system/bin/aarch64-apple-darwin-gcc @@ -1,2 +1,2 @@ #!/bin/sh -gcc -arch arm64 $* +gcc -arch arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-lipo b/deps/system/bin/aarch64-apple-darwin-lipo index 58fd106c..0af822af 100755 --- a/deps/system/bin/aarch64-apple-darwin-lipo +++ b/deps/system/bin/aarch64-apple-darwin-lipo @@ -1,2 +1,2 @@ #!/bin/sh -lipo $* +lipo "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-nm b/deps/system/bin/aarch64-apple-darwin-nm index 432d2615..8e964f57 100755 --- a/deps/system/bin/aarch64-apple-darwin-nm +++ b/deps/system/bin/aarch64-apple-darwin-nm @@ -1,2 +1,2 @@ #!/bin/sh -nm -arch arm64 $* +nm -arch arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-nmedit b/deps/system/bin/aarch64-apple-darwin-nmedit index 55fbfbc4..f14639ef 100755 --- a/deps/system/bin/aarch64-apple-darwin-nmedit +++ b/deps/system/bin/aarch64-apple-darwin-nmedit @@ -1,2 +1,2 @@ #!/bin/sh -nmedit -arch arm64 $* +nmedit -arch arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-objdump b/deps/system/bin/aarch64-apple-darwin-objdump index 1e72fb32..ccdda2e4 100755 --- a/deps/system/bin/aarch64-apple-darwin-objdump +++ b/deps/system/bin/aarch64-apple-darwin-objdump @@ -1,2 +1,2 @@ #!/bin/sh -objdump --arch=arm64 $* +objdump --arch=arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-otool b/deps/system/bin/aarch64-apple-darwin-otool index fbbc5f78..86ad05fd 100755 --- a/deps/system/bin/aarch64-apple-darwin-otool +++ b/deps/system/bin/aarch64-apple-darwin-otool @@ -1,2 +1,2 @@ #!/bin/sh -otool -arch arm64 $* +otool -arch arm64 "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-ranlib b/deps/system/bin/aarch64-apple-darwin-ranlib index 91eec368..173d895e 100755 --- a/deps/system/bin/aarch64-apple-darwin-ranlib +++ b/deps/system/bin/aarch64-apple-darwin-ranlib @@ -1,2 +1,2 @@ #!/bin/sh -ranlib $* +ranlib "$@" diff --git a/deps/system/bin/aarch64-apple-darwin-strip b/deps/system/bin/aarch64-apple-darwin-strip index fd5b2d11..19c96ae4 100755 --- a/deps/system/bin/aarch64-apple-darwin-strip +++ b/deps/system/bin/aarch64-apple-darwin-strip @@ -1,2 +1,2 @@ #!/bin/sh -strip -arch arm64 $* +strip -arch arm64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-ar b/deps/system/bin/x86_64-apple-darwin-ar index 8a640efa..ea208a54 100755 --- a/deps/system/bin/x86_64-apple-darwin-ar +++ b/deps/system/bin/x86_64-apple-darwin-ar @@ -1,2 +1,2 @@ #!/bin/sh -ar $* +ar "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-dsymutil b/deps/system/bin/x86_64-apple-darwin-dsymutil index 769d5e05..ec8dc4ed 100755 --- a/deps/system/bin/x86_64-apple-darwin-dsymutil +++ b/deps/system/bin/x86_64-apple-darwin-dsymutil @@ -1,2 +1,2 @@ #!/bin/sh -dsymutil --arch=x86_64 $* +dsymutil --arch=x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-g++ b/deps/system/bin/x86_64-apple-darwin-g++ index 38400544..e87ee537 100755 --- a/deps/system/bin/x86_64-apple-darwin-g++ +++ b/deps/system/bin/x86_64-apple-darwin-g++ @@ -1,2 +1,2 @@ #!/bin/sh -g++ -arch x86_64 $* +g++ -arch x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-gcc b/deps/system/bin/x86_64-apple-darwin-gcc index 4474335b..b07002b1 100755 --- a/deps/system/bin/x86_64-apple-darwin-gcc +++ b/deps/system/bin/x86_64-apple-darwin-gcc @@ -1,2 +1,2 @@ #!/bin/sh -gcc -arch x86_64 $* +gcc -arch x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-lipo b/deps/system/bin/x86_64-apple-darwin-lipo index 58fd106c..0af822af 100755 --- a/deps/system/bin/x86_64-apple-darwin-lipo +++ b/deps/system/bin/x86_64-apple-darwin-lipo @@ -1,2 +1,2 @@ #!/bin/sh -lipo $* +lipo "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-nm b/deps/system/bin/x86_64-apple-darwin-nm index e25d300a..c681c9dc 100755 --- a/deps/system/bin/x86_64-apple-darwin-nm +++ b/deps/system/bin/x86_64-apple-darwin-nm @@ -1,2 +1,2 @@ #!/bin/sh -nm -arch x86_64 $* +nm -arch x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-nmedit b/deps/system/bin/x86_64-apple-darwin-nmedit index 2dd4fa4e..bbd97178 100755 --- a/deps/system/bin/x86_64-apple-darwin-nmedit +++ b/deps/system/bin/x86_64-apple-darwin-nmedit @@ -1,2 +1,2 @@ #!/bin/sh -nmedit -arch x86_64 $* +nmedit -arch x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-objdump b/deps/system/bin/x86_64-apple-darwin-objdump index 92b731c8..8ee05624 100755 --- a/deps/system/bin/x86_64-apple-darwin-objdump +++ b/deps/system/bin/x86_64-apple-darwin-objdump @@ -1,2 +1,2 @@ #!/bin/sh -objdump --arch=x86_64 $* +objdump --arch=x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-otool b/deps/system/bin/x86_64-apple-darwin-otool index b68d0cdd..8bcd54db 100755 --- a/deps/system/bin/x86_64-apple-darwin-otool +++ b/deps/system/bin/x86_64-apple-darwin-otool @@ -1,2 +1,2 @@ #!/bin/sh -otool -arch x86_64 $* +otool -arch x86_64 "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-ranlib b/deps/system/bin/x86_64-apple-darwin-ranlib index 91eec368..173d895e 100755 --- a/deps/system/bin/x86_64-apple-darwin-ranlib +++ b/deps/system/bin/x86_64-apple-darwin-ranlib @@ -1,2 +1,2 @@ #!/bin/sh -ranlib $* +ranlib "$@" diff --git a/deps/system/bin/x86_64-apple-darwin-strip b/deps/system/bin/x86_64-apple-darwin-strip index 8b2dc1ce..c2cce227 100755 --- a/deps/system/bin/x86_64-apple-darwin-strip +++ b/deps/system/bin/x86_64-apple-darwin-strip @@ -1,2 +1,2 @@ #!/bin/sh -strip -arch x86_64 $* +strip -arch x86_64 "$@"