evenet/lib/core.bash

13 lines
104 B
Bash
Raw Normal View History

2015-02-19 08:36:40 +00:00
has() {
command -v "$1" >/dev/null 2>&1
}
die() {
echo $1 &>2
exit 1
}
warn() {
echo $1 &>2
}