You've already forked bash-ini-parser
mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-08-04 19:42:06 +03:00
add dynamic DEBUG
This commit is contained in:
@@ -5,7 +5,11 @@
|
||||
PREFIX="cfg_section_"
|
||||
|
||||
function debug {
|
||||
return #abort debug
|
||||
if ! [ -v "BASH_INI_PARSER_DEBUG" ]
|
||||
then
|
||||
#abort debug
|
||||
return
|
||||
fi
|
||||
echo $*
|
||||
echo --start--
|
||||
echo "${ini[*]}"
|
||||
|
Reference in New Issue
Block a user