From db3a2608becddc7af56dc89f9da96e9ed8d57e3d Mon Sep 17 00:00:00 2001 From: DrSlony Date: Tue, 13 Nov 2012 21:18:33 +0000 Subject: [PATCH] Updated buildRT to correctly identify Gentoo again --- tools/buildRT | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/buildRT b/tools/buildRT index ac3db969d..f57d6b902 100755 --- a/tools/buildRT +++ b/tools/buildRT @@ -197,7 +197,8 @@ checkDistro () { # distribution=${distro} because if none of the elements match, distro will =YellowDog (last item in the list) # add "break 2;" to the end if we really want to, but Ubuntu gets detected as Debian first, then as Ubuntu, # so we might want to not break the loop. - [[ -e "$loc" ]] && { distribution=${distro}; echo "Distribution detected as ${distribution}"; } + [[ -e "$loc" ]] && { distribution=${distro}; echo "Distribution detected as ${distribution}"; } + [[ "$distro" = Gentoo ]] && break 2 done done