Khem Raj via lists.yoctoproject.org schrieb am Do 16. Jan, 17:45 (-0800): > On Thu, Jan 16, 2025 at 11:38 AM Bills, Jason M via > lists.yoctoproject.org > <jason.m.bills=linux.intel....@lists.yoctoproject.org> wrote: > > > > Hello, > > > > I recently pulled down this change that fixes an issue with EXTRA_IMAGECMD > > support for squashfs-xz: > > https://github.com/yoctoproject/poky/commit/70a857b8f3fd3e9b95b903e8313d0014a6ff8c96. > > > > Looking at this commit, it's using the 'local' keyword which is a bash > extension and I wonder if that > is right, since we support posix compliant shell syntax for executing > shell tasks. > > what is your defautl shell, is it bash or dash ?
Dash supports *local*. >From dash(1): Variables may be declared to be local to a function by using a local command. This should appear as the first statement of a function, and the syntax is local [variable | -] ... Local is implemented as a builtin command.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64573): https://lists.yoctoproject.org/g/yocto/message/64573 Mute This Topic: https://lists.yoctoproject.org/mt/110653777/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-