You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shell script "build.sh" checks for the version of bash with the following (line 269): BASH_MAJOR_VERSION=$(/bin/bash --version | grep 'GNU bash' | grep -o version... | cut -d ' ' -f 2 | cut -d '.' -f 1)
On Ubuntu 18.04 '/bin/bash --version' prints GNU bash, Version 4.4.20(1)-release (x86_64-pc-linux-gnu)
with a capital "V", causing the grep not to find a match.
Modifying line 269 to be: BASH_MAJOR_VERSION=$(/bin/bash --version | grep 'GNU bash' | grep -oi version... | cut -d ' ' -f 2 | cut -d '.' -f 1)
does the trick.
The text was updated successfully, but these errors were encountered:
The shell script "build.sh" checks for the version of bash with the following (line 269):
BASH_MAJOR_VERSION=$(/bin/bash --version | grep 'GNU bash' | grep -o version... | cut -d ' ' -f 2 | cut -d '.' -f 1)
On Ubuntu 18.04 '/bin/bash --version' prints
GNU bash, Version 4.4.20(1)-release (x86_64-pc-linux-gnu)
with a capital "V", causing the grep not to find a match.
Modifying line 269 to be:
BASH_MAJOR_VERSION=$(/bin/bash --version | grep 'GNU bash' | grep -oi version... | cut -d ' ' -f 2 | cut -d '.' -f 1)
does the trick.
The text was updated successfully, but these errors were encountered: