Add missing local declaration.
This commit is contained in:
parent
e5cb2e6913
commit
a51550b4d6
@ -1,7 +1,7 @@
|
|||||||
if [ ! "$_COMMON_SUBR" ]; then _COMMON_SUBR=1
|
if [ ! "$_COMMON_SUBR" ]; then _COMMON_SUBR=1
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 Ron McDowell
|
# Copyright (c) 2012 Ron McDowell
|
||||||
# Copyright (c) 2012-2013 Devin Teske
|
# Copyright (c) 2012-2014 Devin Teske
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -153,7 +153,7 @@ f_debug_init()
|
|||||||
# Process stored command-line arguments
|
# Process stored command-line arguments
|
||||||
#
|
#
|
||||||
set -- $ARGV
|
set -- $ARGV
|
||||||
local OPTIND
|
local OPTIND flag
|
||||||
f_dprintf "f_debug_init: ARGV=[%s] GETOPTS_STDARGS=[%s]" \
|
f_dprintf "f_debug_init: ARGV=[%s] GETOPTS_STDARGS=[%s]" \
|
||||||
"$ARGV" "$GETOPTS_STDARGS"
|
"$ARGV" "$GETOPTS_STDARGS"
|
||||||
while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \
|
while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user