[coreboot-gerrit] New patch to review for coreboot: d796645 crossgcc: Specify GNU bash as interpreter program
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Thu Jun 11 11:58:27 CEST 2015
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10514
-gerrit
commit d7966451beefbc86eb315ca6a6fae3efe3b53e59
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Thu Jun 11 11:51:50 2015 +0200
crossgcc: Specify GNU bash as interpreter program
With dash as system shell (`/bin/sh`), running `./buildgcc` fails to
actually build the binaries.
# ./buildgcc -p i386-elf
Welcome to the coreboot cross toolchain builder v1.30 (June 9th, 2015)
Target architecture is now i386-elf
./buildgcc: 572: ./buildgcc: [[: not found
[…]
Therefore, explicitly require GNU bash by putting `/bin/bash` into the
shebang line.
Change-Id: I480982e0821c15ea4427598bf2df476f60d040df
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
util/crossgcc/buildgcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 3bee6dc..b53202a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (C) 2008-2010 by coresystems GmbH
# written by Patrick Georgi <patrick.georgi at coresystems.de> and
More information about the coreboot-gerrit
mailing list