From 89242d9fdea077a6f86744fcb4749023cd20ee4a Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Mon, 30 Jan 2012 10:20:31 -0700 Subject: [PATCH] Don't init a global with a global. --- bin/pt-stalk | 2 +- lib/bash/parse_options.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pt-stalk b/bin/pt-stalk index 5ee21363..aee02abf 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -60,7 +60,7 @@ HAVE_EXT_ARGV="" # Got --, everything else is put into EXT_ARGV OPT_ERRS=0 # How many command line option errors OPT_VERSION="" # If --version was specified OPT_HELP="" # If --help was specified -PO_DIR="$TMPDIR/po" # Directory with program option spec files +PO_DIR="" # Directory with program option spec files usage() { local file="$1" diff --git a/lib/bash/parse_options.sh b/lib/bash/parse_options.sh index 59aff04a..805b82f5 100644 --- a/lib/bash/parse_options.sh +++ b/lib/bash/parse_options.sh @@ -54,7 +54,7 @@ HAVE_EXT_ARGV="" # Got --, everything else is put into EXT_ARGV OPT_ERRS=0 # How many command line option errors OPT_VERSION="" # If --version was specified OPT_HELP="" # If --help was specified -PO_DIR="$TMPDIR/po" # Directory with program option spec files +PO_DIR="" # Directory with program option spec files # Sub: usage # Print usage (--help) and list the program's options.