diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-28 12:47:20 +0200 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-28 12:47:20 +0200 |
commit | 34eeaf1a6548710a7f9496be2e4ca71acb0c6be2 (patch) | |
tree | 52855174b02e2fb6fdf148bf495aa9599590508b /subr.rtl | |
parent | 07bfbd1de0220f6e4ee4078e92e630e1cae7465c (diff) | |
download | midipix_build-34eeaf1a6548710a7f9496be2e4ca71acb0c6be2.tar.bz2 midipix_build-34eeaf1a6548710a7f9496be2e4ca71acb0c6be2.tar.xz |
Fix printing of package variables in ./pkgtool.sh -i.
Diffstat (limited to 'subr.rtl')
-rw-r--r-- | subr.rtl/rtl_platform.subr | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/subr.rtl/rtl_platform.subr b/subr.rtl/rtl_platform.subr index d3ba8f56..a58b71a3 100644 --- a/subr.rtl/rtl_platform.subr +++ b/subr.rtl/rtl_platform.subr @@ -112,21 +112,6 @@ rtl_get_var_unsafe() { }; # -# rtl_get_vars_unsafe_fast() - get values of multiple variables w/ pattern -# @_pattern: pattern to match against set output -# -# Returns: zero (0) on success, non-zero (>0) on failure, matching variable values on stdout -# N.B.: This function is *unsafe* and impossible to implement otherwise w/o parsing set -# output properly and may produce spurious data. -# -rtl_get_vars_unsafe_fast() { - local _rgvuf_pattern="${1}"; - - set | awk -F= '/'"${_rgvuf_pattern}"'/{print $1}' | sort; - return 0; -}; - -# # rtl_kill_tree() - kill tree of processes # @_rpids: inout reference to list of PIDs # @_pid: top-level PID |