Update shell template

This commit is contained in:
gardouille 2022-07-19 11:33:20 +02:00
parent cc2f156e45
commit 62e21d1614
Signed by: gardouille
GPG Key ID: E759BAA22501AF32

View File

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