split off common routines for boldification of FAILs

This commit is contained in:
George Danchev 2011-07-09 16:31:46 +00:00
parent 63ce272077
commit f79f3db3db
1 changed files with 8 additions and 0 deletions

View File

@ -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