diff options
author | Stefan Tauner <stefan.tauner@gmx.at> | 2018-08-01 06:57:36 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-08-14 07:51:36 +0000 |
commit | b75a08b1992902d1c2895e093b5d08d6e36211c2 (patch) | |
tree | 372ce2f1905ff580a5f649db187e7e06b3a9d939 /.clang-format | |
parent | eceba31c7f8a4bb115cf48e098e0a50edf3546b4 (diff) |
xgcc: fix grouping of conditions in buildgcc for Ada
No idea where the escaped parentheses come from but they
are no good. Without this patch I see errors with bash and dash:
./buildgcc: line 1198: (: command not found
./buildgcc: line 1199: (: command not found
The patch uses curly brackets for grouping since they don't
launch a subshell - unlike using unescaped parentheses which
would work too.
shellcheck is happy with either variant (and the original one(!)).
Change-Id: I44fbc659f5b54515e43e85680b1ab0a824b781a7
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
Reviewed-on: https://review.coreboot.org/27771
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions