File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# # FILE : #~NAME~#
44# # DESCRIPTION : Build script that merge source.sh and script.sh into one
55# # CREATED : #~TIME~#
6- # # TEMVER : v2.1.1
6+ # # TEMVER : v2.1.2
77# # TEMURL : https://github.com/Silverbullet069/bash-script-template
88# # AUTHOR : ralish (https://github.com/ralish/)
99# # CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)
Original file line number Diff line number Diff line change 11{
22 "name" : " bash-script-template" ,
3- "version" : " 2.1.1 " ,
3+ "version" : " 2.1.2 " ,
44 "description" : " A Bash scripting template incorporating best practices & several useful functions." ,
55 "directories" : {
66 "test" : " tests"
Original file line number Diff line number Diff line change 33# # FILE : #~NAME~#
44# # DESCRIPTION : General Bash script template
55# # CREATED : #~TIME~#
6- # # TEMVER : v2.1.1
6+ # # TEMVER : v2.1.2
77# # TEMURL : https://github.com/Silverbullet069/bash-script-template
88# # AUTHOR : ralish (https://github.com/ralish/)
99# # CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)
@@ -61,7 +61,7 @@ function parse_params() {
6161 # shellcheck disable=SC2015
6262 [[ " ${# options[@]} " -eq 0 ]] && script_exit " No valid flags found in parse_params() function. Check the function implementation." 1 || true
6363
64- # Initialize all flags with empty value
64+ # Initialize all flags with default value
6565 for option in " ${! options[@]} " ; do
6666 # NOTE: use "_option_*" as prefix
6767 declare -g " _option_${option} =${options[${option}]} "
Original file line number Diff line number Diff line change 33# # FILE : #~NAME~#
44# # DESCRIPTION : A sourced script that contains reusable functions
55# # CREATED : #~TIME~#
6- # # TEMVER : v2.1.1
6+ # # TEMVER : v2.1.2
77# # TEMURL : https://github.com/Silverbullet069/bash-script-template
88# # AUTHOR : ralish (https://github.com/ralish/)
99# # CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)
Original file line number Diff line number Diff line change 33# # FILE : #~NAME~#
44# # DESCRIPTION : General Bash script template
55# # CREATED : #~TIME~#
6- # # TEMVER : v2.1.1
6+ # # TEMVER : v2.1.2
77# # TEMURL : https://github.com/Silverbullet069/bash-script-template
88# # AUTHOR : ralish (https://github.com/ralish/)
99# # CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)
You can’t perform that action at this time.
0 commit comments