Lines 202-208
eshopts_push() {
Link Here
|
202 |
[[ $# -eq 0 ]] && return 0 |
202 |
[[ $# -eq 0 ]] && return 0 |
203 |
shopt "$@" || die "${FUNCNAME}: bad options to shopt: $*" |
203 |
shopt "$@" || die "${FUNCNAME}: bad options to shopt: $*" |
204 |
else |
204 |
else |
205 |
estack_push eshopts $- |
205 |
estack_push eshopts "$-" |
206 |
[[ $# -eq 0 ]] && return 0 |
206 |
[[ $# -eq 0 ]] && return 0 |
207 |
set "$@" || die "${FUNCNAME}: bad options to set: $*" |
207 |
set "$@" || die "${FUNCNAME}: bad options to set: $*" |
208 |
fi |
208 |
fi |
209 |
- |
|
|