Skip to content

Commit

Permalink
whitelist CentOS version 7.6 in setup.csh and setup.sh (#985) (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
rradjabi authored and stsoe committed Feb 20, 2019
1 parent 341046d commit 48cafdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime_src/tools/scripts/setup.csh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if ( "$OSDIST" =~ "ubuntu" ) then
endif

if ( "$OSDIST" =~ centos || "$OSDIST" =~ redhat* ) then
if ( "$OSREL" !~ 7.4* && "$OSREL" !~ 7.5* ) then
if ( "$OSREL" !~ 7.4* && "$OSREL" !~ 7.5* && "$OSREL" !~ 7.6* ) then
echo "ERROR: Centos or RHEL release version must be 7.4 or later"
exit 1
endif
Expand Down
2 changes: 1 addition & 1 deletion src/runtime_src/tools/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ $OSDIST == "ubuntu" ]]; then
fi

if [[ $OSDIST == "centos" ]] || [[ $OSDIST == "redhat"* ]]; then
if [[ $OSREL != "7.4"* ]] && [[ $OSREL != "7.5"* ]]; then
if [[ $OSREL != "7.4"* ]] && [[ $OSREL != "7.5"* ]] && [[ $OSREL != "7.6"* ]]; then
echo "ERROR: Centos or RHEL release version must be 7.4 or later"
return 1
fi
Expand Down

0 comments on commit 48cafdc

Please sign in to comment.