Skip to content

Instantly share code, notes, and snippets.

View bcourtine's full-sized avatar

Benoît Courtine bcourtine

View GitHub Profile
@bcourtine
bcourtine / git-build
Last active October 4, 2015 22:47 — forked from dgageot/git-build
Unbreakeable build
#!/bin/bash
# which silent mode (-s) is not supported on all systems.
function alert_user {
echo "${1}";
which growlnotify && growlnotify `basename $0` -m "${1}"
which notify-send && notify-send -u "${2}" "${1}" `basename $0`
}
function exit_ko {