commit | 05b524576aea9f4830cf52d5777102eb7ee566f6 | [log] [tgz] |
---|---|---|
author | Petr Michalec <epcim@apealive.net> | Fri Sep 08 14:26:59 2017 +0200 |
committer | Petr Michalec <epcim@apealive.net> | Fri Sep 08 14:26:59 2017 +0200 |
tree | fb8f02b4693e9ac14e2aa7126857a459afde133b | |
parent | a361d4e208e354b43fc471a1587ca990b0748c95 [diff] |
Fix platform_family recognition for centos/rhel based os Change-Id: Ib2613b6cbbb68dc24caab36fff641c1b14e1074f
diff --git a/bootstrap.sh b/bootstrap.sh index fe000df..a7f60bb 100755 --- a/bootstrap.sh +++ b/bootstrap.sh
@@ -90,7 +90,7 @@ elif [ "$FORMULAS_SOURCE" == "pkg" ]; then SALT_ENV=${SALT_ENV:-prd} fi -eval $(cat /etc/*release 2> /dev/null) +eval "$(grep -h '=' /etc/*release 2> /dev/null)" PLATFORM_FAMILY=$(echo ${ID_LIKE// */} | tr A-Z a-z) case $PLATFORM_FAMILY in debian )