Project

General

Profile

« Previous | Next » 

Revision 12842

lib/sh/util.sh: manual terminal escape sequences: use highlight_msg() instead

View differences:

util.sh
1068 1068

  
1069 1069
already_exists_msg() # usage: cond || what=... already_exists_msg || return 0
1070 1070
{
1071
	type=info die "$what"' already exists, skipping
1072
 to force-remake, prepend `rm=1` to the command '
1071
	type=info die "$what already exists, skipping
1072
$(mk_hint 'to force-remake, prepend `rm=1` to the command')"
1073 1073
}
1074 1074

  
1075 1075
require_not_exists() # usage: require_not_exists file || return 0

Also available in: Unified diff