From 5da95dc4c280cb6093f38ce6561d2d6545c84ace Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 17 Jul 2015 23:33:05 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/10974 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/crossgcc') 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" ;; -- cgit v1.2.3