chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
chroot-setup: less error-prone set -e
[bin.git]
/
notify-cmd
1
#! /bin/sh
2
3
$@
4
CODE="$?"
5
if [ "$CODE" = 0 ]; then
6
notify-send -t 10000 "$1 succeeded"
7
else
8
notify-send -t 10000 "$1 failed ($CODE)"
9
fi
10
exit $CODE