Messages in this thread |  | | From | Masahiro Yamada <> | Date | Thu, 26 Dec 2019 18:25:12 +0900 | Subject | Re: [PATCH] use bash instead of sh to run mkcompile_h |
| |
On Wed, Dec 25, 2019 at 2:58 PM Liangcai Fan <fanliangcai9@gmail.com> wrote: > > From: Liangcai Fan <liangcai.fan@unisoc.com> > > Use sh to run mkcompile_h, compilation would fail if whoami contains > backslash, since sh uses dash. The reason is that the echo command would > interpret backslash to escapes, so the LINUX_COMPILE_BY definition was > incorrect. > > Parse mkcompile_h with bash, the echo command would not see backslash as > escapes, then there is no error with the definition of LINUX_COMPILE_BY. > > Signed-off-by: Liangcai Fan <liangcai.fan@unisoc.com> > Signed-off-by: Liangcai Fan <fanliangcai9@gmail.com> > ---
This problem was fixed by commit c8f3dea90e38194dae542c5d56e05d30447e58cb
-- Best Regards Masahiro Yamada
|  |