Re: git: 67ce8cec004c - main - Mk/Scripts: Fix the 'stripped' check from 'make check-plist' to report all unstripped files
Date: Mon, 05 Jun 2023 11:20:33 UTC
On 02/06/23 13:07, Yuri Victorovich wrote: > Hi Mathieu, > > > > On 6/2/23 00:11, Mathieu Arnold wrote: >> Now, here, we are running `sh -c 'script' -- arg1 arg2 arg3`, so, $0 >> contains `--`, and arg1-3 are in $@. > > > I don't think this is correct. > > > The command > > > sh -c 'echo "$@"' -- a b c > > > prints "b c" regardless of whether "--" is present. $0 is needed to > print all arguments. > > "--" simply means that all following arguments are passed verbatim to > the inner command, without trying to parse the leading "-". Yuri, Do you mind to implement a patch with mat's suggestion of quoting $0 -> "$0"? Thanks -- Renato Botelho