split off common routines for boldification of FAILs

master
George Danchev 11 years ago
parent 63ce272077
commit f79f3db3db
  1. 8
      releng/inc/releng_getopts.inc

@ -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…
Cancel
Save