split off common routines for boldification of FAILs
This commit is contained in:
parent
63ce272077
commit
f79f3db3db
@ -20,6 +20,14 @@ Usage: $SELF -x path/to/xorriso [-k0|1] [-f0|1] [-h]
|
|||||||
EOF
|
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() {
|
cleanup() {
|
||||||
if [ ${KEEP} -eq 0 -a ${CLEANUP} -eq 1 ]; then
|
if [ ${KEEP} -eq 0 -a ${CLEANUP} -eq 1 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user