pull/1907/head
John D Pell 2021-12-27 15:29:03 -08:00
parent ed08946463
commit 08c72f680b
1 changed files with 3 additions and 4 deletions

View File

@ -3,11 +3,10 @@
# A collection of reusable functions.
# Avoid duplicate inclusion
if [[ "${__bash_it_lib_loaded[*]:-}" == *"${BASH_SOURCE#*/}"* ]]
then
return 0
if [[ "${__bash_it_lib_loaded[*]:-}" == *"${BASH_SOURCE#*/}"* ]]; then
return 0
fi
__bash_it_lib_loaded=( "${BASH_SOURCE#*/}" "${__bash_it_lib_loaded[@]:-}" )
__bash_it_lib_loaded=("${BASH_SOURCE#*/}" "${__bash_it_lib_loaded[@]:-}")
###########################################################################
# Generic utilies