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