Imported from ../bash-3.0.tar.gz.
This commit is contained in:
@@ -134,7 +134,7 @@ function getoptex()
|
||||
let OPTIND || OPTIND=1
|
||||
[ $OPTIND -lt $# ] || return 1
|
||||
shift $OPTIND
|
||||
if [ "$1" != "-" -a "$1" != "${1#-}" ]
|
||||
if [ "$1" != "-" ] && [ "$1" != "${1#-}" ]
|
||||
then OPTIND=$[OPTIND+1]; if [ "$1" != "--" ]
|
||||
then
|
||||
local o
|
||||
@@ -299,4 +299,3 @@ function getopt()
|
||||
#**************************************
|
||||
#*** (end of getopt2) ***
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user