mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-24 00:27:59 +02:00
Pmodules/libpmodules.bash: pmodules::get_options() uses std::upvar() now
This commit is contained in:
@@ -6,7 +6,8 @@ if [[ -z ${sbindir} ]]; then
|
||||
fi
|
||||
|
||||
pmodules::get_options() {
|
||||
"${sbindir}/getopt" "$@"
|
||||
local "$1"
|
||||
std::upvar $1 $("${sbindir}/getopt" "${@:2}")
|
||||
}
|
||||
|
||||
pmodules::check_env_vars() {
|
||||
|
||||
Reference in New Issue
Block a user