Skip to content

Commit

Permalink
Merge pull request #43 from ZOSOpenTools/bash_version
Browse files Browse the repository at this point in the history
Obtain bash version in buildenv
  • Loading branch information
IgorTodorovskiIBM authored Feb 3, 2023
2 parents e24356d + 3f9b014 commit ce94daa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildenv
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ zopen_check_results()
echo "totalTests:$total"
echo "expectedFailures:15"
}

zopen_get_version() {
./bash --version | head -1 | awk -F" " '{print $4}' | awk -F"(" '{print $1}'
}

0 comments on commit ce94daa

Please sign in to comment.