szaszm commented on code in PR #1319:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1319#discussion_r859806067
##########
aptitude.sh:
##########
@@ -23,7 +23,7 @@ verify_enable_platform(){
add_os_flags() {
CC=gcc
CXX=g++
- if [[ "$OS" = Ubuntu* ]]; then
+ if [[ "$OS" = Ubuntu* ]] && [ "$OS_MAJOR" -lt 22 ]; then
Review Comment:
I generally prefer the portable `test`/`[`, but it doesn't support pattern
matching. I can change it to use only `[[`, hopefully it will work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]