Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
30778309b4
1 changed files with 1 additions and 1 deletions
|
@ -20,5 +20,5 @@ function print_error_noisy { [ ${NOISY:-0} -ge $1 ] && print_error $@[2,-1] }
|
|||
function print_info_sub_noisy { [ ${NOISY:-0} -ge $1 ] && print_info_sub $@[2,-1] }
|
||||
function print_error_sub_noisy { [ ${NOISY:-0} -ge $1 ] && print_error_sub $@[2,-1] }
|
||||
|
||||
# Return 1 if the binary exists (according to hash); 0 otherwise.
|
||||
function binary_exists { return $(hash $1 1>/dev/null 2>&1) }
|
||||
function binary_not_exists { binary_exists $1; return $(( ! $? )) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue