Update shell template

This commit is contained in:
Jeremy Gardais 2022-07-19 11:33:20 +02:00
parent cc2f156e45
commit 62e21d1614
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@
# !!DATE!! # !!DATE!!
# }}} # }}}
# Vars {{{ # Vars {{{
readonly PROGNAME=$(basename "${0}") PROGNAME=$(basename "${0}"); readonly PROGNAME
readonly PROGDIR=$(readlink -m $(dirname "${0}")) PROGDIR=$(readlink -m $(dirname "${0}")); readonly PROGDIR
readonly ARGS="${*}" ARGS="${*}"; readonly ARGS
readonly NBARGS="${#}" readonly NBARGS="${#}"
[ -z "${DEBUG}" ] && DEBUG=1 [ -z "${DEBUG}" ] && DEBUG=1
## Export DEBUG for sub-script ## Export DEBUG for sub-script