Skip to content

Commit

Permalink
Resolved issue CiscoDevNet#1078
Browse files Browse the repository at this point in the history
  • Loading branch information
ygorelik committed Jan 31, 2023
1 parent a7db017 commit 98d3236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#### Resolved GitHub issues
* CodecService fails to decode XML in python when referencing namespace prefix ([#1071](https://github.com/CiscoDevNet/ydk-gen/issues/1071))
* Error in ydk-gen-master/test/dependencies_centos.sh version check ([#1078](https://github.com/CiscoDevNet/ydk-gen/issues/1078))

### Resolved non-GitHub issues
* Fixed and tested C++ sample apps
Expand Down
3 changes: 2 additions & 1 deletion test/dependencies_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ function check_install_gcc {
print_msg "The gcc/g++ not installed"
gcc_version="4.0.0"
fi
if [[ $gcc_version < "4.8.1" ]]
major=$(echo $gcc_version | cut -d '.' -f 1)
if [[ $major -le 4 && $gcc_version < "4.8.1" ]]
then
print_msg "Upgrading gcc/g++ to version 7"
$sudo_cmd yum install centos-release-scl -y > /dev/null
Expand Down

0 comments on commit 98d3236

Please sign in to comment.