diff --git a/configure b/configure index 4535740352f..e11658debae 100755 --- a/configure +++ b/configure @@ -120,7 +120,7 @@ CFG_BIN_DIR=$CFG_ROOT_DIR/$VIRTUALENV_DIR/bin # force relaunching under X86-64 architecture on macOS M1/ARM if [[ $OSTYPE == 'darwin'* && $(uname -m) == 'arm64' && $(sysctl -in sysctl.proc_translated) == 0 ]]; then - arch -x86_64 /bin/bash -c "$CFG_ROOT_DIR/configure $@" + arch -x86_64 /bin/bash -c "$CFG_ROOT_DIR/configure $*" exit $? fi diff --git a/scancode b/scancode index 9053027a0bb..a2dbe19df79 100755 --- a/scancode +++ b/scancode @@ -122,7 +122,7 @@ SCANCODE_ROOT_DIR="$( cd "$( dirname "${SCANCODE_BIN}" )" && pwd )" # force relaunching under X86-64 architecture on macOS M1/ARM if [[ $OSTYPE == 'darwin'* && $(uname -m) == 'arm64' && $(sysctl -in sysctl.proc_translated) == 0 ]]; then - arch -x86_64 /bin/bash -c "$SCANCODE_ROOT_DIR/$COMMAND_TO_RUN $@" + arch -x86_64 /bin/bash -c "$SCANCODE_ROOT_DIR/$COMMAND_TO_RUN $*" exit $? fi