Initial commit
This commit is contained in:
commit
9264facc8e
2 changed files with 222 additions and 0 deletions
17
ompstart
Executable file
17
ompstart
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
printf 'Fout: brew is niet gevonden in PATH.\n' >&2
|
||||
exit 127
|
||||
fi
|
||||
|
||||
if ! command -v omp >/dev/null 2>&1; then
|
||||
printf 'Fout: omp is niet gevonden in PATH.\n' >&2
|
||||
exit 127
|
||||
fi
|
||||
|
||||
# Run the upgrade without asking for confirmation.
|
||||
brew upgrade -y
|
||||
omp update
|
||||
exec omp "$@"
|
||||
Loading…
Reference in a new issue