Project

General

Profile

« Previous | Next » 

Revision 14734

*{.sh,run}: use standard WARNING syntax for warning labels

View differences:

trunk/lib/sh/util.sh
676 676
# see aliases in stubs
677 677

  
678 678
verbosity_min() # usage: verbosity_min {<min>|''}
679
# WARNING: '' is a special value that causes $verbosity to be overwritten to ''
679
# **WARNING**: '' is a special value that causes $verbosity to be overwritten to ''
680 680
{ if test ! "$1" -o "$(verbosity_int)" -lt "$1"; then verbosity="$1"; fi; }
681 681
alias verbosity_min='declare verbosity="$verbosity"; "verbosity_min"'
682 682

  
......
935 935
{ ! fd_exists "$1" || type=info die "fd $1 already exists, skipping"; }
936 936

  
937 937
set_fds() # usage: set_fds redirect...
938
# WARNING: does not currently support redirecting an fd to itself (due to bash
938
# **WARNING**: does not currently support redirecting an fd to itself (due to bash
939 939
# bug that requires the dest fd to be closed before it can be reopened)
940 940
{
941 941
	echo_func

Also available in: Unified diff