Add missing NBARGS definition
This commit is contained in:
parent
fc1eb8bf8b
commit
154b47ad9e
|
@ -17,7 +17,8 @@
|
||||||
# Vars {{{
|
# Vars {{{
|
||||||
PROGNAME=$(basename "${0}"); readonly PROGNAME
|
PROGNAME=$(basename "${0}"); readonly PROGNAME
|
||||||
PROGDIR=$(readlink -m $(dirname "${0}")); readonly PROGDIR
|
PROGDIR=$(readlink -m $(dirname "${0}")); readonly PROGDIR
|
||||||
ARGS="${*}"; readonly ARGS
|
readonly ARGS="${*}"
|
||||||
|
readonly NBARGS="${#}"
|
||||||
[ -z "${DEBUG}" ] && DEBUG=1
|
[ -z "${DEBUG}" ] && DEBUG=1
|
||||||
## Export DEBUG for sub-script
|
## Export DEBUG for sub-script
|
||||||
export DEBUG
|
export DEBUG
|
||||||
|
|
Loading…
Reference in New Issue