Don't use OPT_TMPDIR in tmpdir.sh. Define EXT_ARGV in parse_options.sh.

This commit is contained in:
Daniel Nichter
2011-12-19 11:29:21 -07:00
parent 8439962b45
commit 3266e0aeca
3 changed files with 25 additions and 18 deletions

View File

@@ -26,9 +26,9 @@ set -u
# Global variables. These must be global because declare inside a
# sub will be scoped locally.
declare -a ARGV # non-option args (probably input files)
declare EXT_ARGV # everything after -- (args for an external command)
declare -a OPT_ERRS # errors while parsing options, for usage_or_errors()
declare -a ARGV # non-option args (probably input files)
EXT_ARGV="" # everything after -- (args for an external command)
declare -a OPT_ERRS # errors while parsing options, for usage_or_errors()
OPT_VERSION="no"
OPT_HELP="no"