Update shell template
This commit is contained in:
parent
cc2f156e45
commit
62e21d1614
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue