aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2014-02-20 12:00:28 -0600
committerClark Laughlin <clark.laughlin@linaro.org>2014-02-20 12:00:28 -0600
commitd22d28fb2e0419371c9b9e7b4790a887af3fea59 (patch)
tree619f877131beb1d224b1135deb940b23418c592a
parent0c799414426be5d454459d6614f6d67874ce3d45 (diff)
missed another place to check for Linaro distribution
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 0ee254a..df19488 100644
--- a/functions
+++ b/functions
@@ -473,7 +473,7 @@ GetOSVersion() {
# Sets ``DISTRO`` from the ``os_*`` values
function GetDistro() {
GetOSVersion
- if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) ]]; then
+ if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Linaro) || "$os_VENDOR" =~ (Debian) ]]; then
# 'Everyone' refers to Ubuntu / Debian releases by the code name adjective
DISTRO=$os_CODENAME
elif [[ "$os_VENDOR" =~ (Fedora) ]]; then