Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- # Copyright (c) 2022 Jan Lehnardt <jan@apache.org>, MIT licensed
-
- debug () {
- if [ -n "$DEBUG" ]; then
- echo "$1"
- fi
- }
-
- debug_inline () {
- if [ -n "$DEBUG" ]; then
- printf "$1"
- fi
- }
-
- error_and_exit () {
- echo $1 || "error"
- exit 1
- }
-
- assert_arg () {
- arg=$1
-
- if [ -z "$arg" ]; then
- return 1
- fi
- return 0
- }
|