mirror of
https://github.com/kevinnlsamuel/bak-old.git
synced 2025-12-06 10:05:58 +05:30
set up for debugging/dev
- rearranged comments around debug brace expansion so it doesn't look bad when printed due to the `-v` flag
This commit is contained in:
@@ -15,7 +15,6 @@ set -e
|
||||
#####################
|
||||
|
||||
debug(){ ### function to call when $DEBUG is set
|
||||
|
||||
set -xv
|
||||
}
|
||||
|
||||
@@ -175,9 +174,9 @@ parse_combined(){
|
||||
fi
|
||||
}
|
||||
|
||||
### enable debugging ###
|
||||
### enable debugging if ###
|
||||
${DEBUG+debug} ###
|
||||
### if $DEBUG is set ###
|
||||
### $DEBUG is set ###
|
||||
|
||||
###############################################################################
|
||||
# SANITISING PARAMS AND OPTIONS
|
||||
|
||||
Reference in New Issue
Block a user