summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-07-17 23:33:05 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-07-22 01:44:54 +0200
commit5da95dc4c280cb6093f38ce6561d2d6545c84ace (patch)
tree616fcc50b5ab638856a4544e2296527f2c5e7c48 /util/crossgcc
parent67b9430b367a9f9a884043f14365a55b7ef3c45c (diff)
crossgcc: Support /bin/sh pointing to dash
It doesn't know "source", but wants the older "." instead Change-Id: Iafa61b1d2ffc9c737ab67a417c62417593b69374 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10974 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f59b225f02..590e1f8671 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -109,7 +109,7 @@ normalize_dirs()
please_install()
{
- test -r /etc/os-release && source /etc/os-release
+ test -r /etc/os-release && . /etc/os-release
case "$ID_LIKE" in
debian) solution="sudo apt-get install $1" ;;
suse) solution="sudo zypper install $1" ;;