Skip to content

Commit

Permalink
Improve visibility of GNU awk dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
samrocketman committed Jun 29, 2018
1 parent a902a62 commit c885fe5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Goals of this project:
# Requirements

- Mac OS X or Linux.
- GNU awk. Not installed by default on Mac but available via Homebrew. `brew
install gawk`
- More than two CPU cores recommended.
- More than 6GB of RAM recommended if running Jenkins.

Expand Down
7 changes: 7 additions & 0 deletions scripts/upgrade/remote_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ if [ -z "${JENKINS_WEB}" -o -z "${SCRIPT_LIBRARY_PATH}" ]; then
exit 1
fi

if ! type -P gawk; then
echo 'ERROR: GNU awk is required.' >&2
echo 'If on Mac, "brew install gawk".' >&2
echo "Otherwise, install GNU awk for the platform you're using" >&2
exit 1
fi

# GNU or BSD sed is required. Homebrew on Mac installs GNU sed as gsed.
# Try to detect gsed; otherwise, fall back to detecting OS for using sed.
SED=()
Expand Down

0 comments on commit c885fe5

Please sign in to comment.