Skip to content

Commit

Permalink
SC1091 disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
p-alik committed Jul 25, 2017
1 parent 4f1dc06 commit a1edc03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ determine_target_platform ()
_vendor="$(rpm -qf /etc/redhat-release)"
set_VENDOR "$_vendor" 'rhel' "$rhel_version"
elif [[ -f '/etc/os-release' ]]; then
# shellcheck disable=SC1091
source '/etc/os-release'
set_VENDOR "$ID" "$ID" "$VERSION_ID"
elif [[ -x '/usr/bin/lsb_release' ]]; then
Expand All @@ -364,6 +365,7 @@ determine_target_platform ()
_VERSION="$(/usr/bin/lsb_release -s -r)"
set_VENDOR "$_ID" "$_ID" "$_VERSION_ID"
elif [[ -f '/etc/lsb-release' ]]; then
# shellcheck disable=SC1091
source '/etc/lsb-release'
set_VENDOR 'canonical' "$DISTRIB_ID" "$DISTRIB_CODENAME"
fi
Expand Down Expand Up @@ -1865,6 +1867,7 @@ bootstrap ()
BOOTSTRAP_SNAPSHOT_CHECK=

if [ -f '.bootstrap' ]; then
# shellcheck disable=SC1091
source '.bootstrap'
fi

Expand Down

0 comments on commit a1edc03

Please sign in to comment.