split off common routines for boldification of FAILs
This commit is contained in:
parent
b60a47359b
commit
5309bfbed2
@ -20,6 +20,14 @@ Usage: $SELF -x path/to/xorriso [-k0|1] [-f0|1] [-h]
|
||||
EOF
|
||||
}
|
||||
|
||||
boldify() {
|
||||
if which tput >/dev/null 2>&1; then tput smso; fi
|
||||
}
|
||||
|
||||
unboldify() {
|
||||
if which tput >/dev/null 2>&1; then tput rmso; fi
|
||||
}
|
||||
|
||||
#############################################
|
||||
cleanup() {
|
||||
if [ ${KEEP} -eq 0 -a ${CLEANUP} -eq 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user