From: Tom Rini Date: Tue, 13 Apr 2021 10:27:47 -0400 Subject: [PATCH] hush: Fix assignments being misinterpreted as commands In-Reply-To: <20210228212951.1175231-1-seanga2@gmail.com> References: <20210228212951.1175231-1-seanga2@gmail.com> Message-ID: <20210413142747.GP1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Feb 28, 2021 at 04:29:51PM -0500, Sean Anderson wrote: > If there were no variable substitutions in a command, then initial > assignments would be misinterpreted as commands, instead of being skipped > over. This is demonstrated by the following example: > > => foo=bar echo baz > Unknown command 'foo=bar' - try 'help' > > Signed-off-by: Sean Anderson Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: