You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- function debug () {
- if [ -n "$DEBUG" ]; then
- echo "$1"
- fi
- }
-
- function debug_inline () {
- if [ -n "$DEBUG" ]; then
- printf "$1"
- fi
- }
-
- function error_and_exit () {
- echo $1 || "error"
- exit 1
- }
-
- function assert_arg () {
- arg=$1
-
- if [ -z "$arg" ]; then
- return 1
- fi
- return 0
- }
|