diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-20 19:53:46 +0100 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-20 19:53:46 +0100 |
commit | 80900b74bf135e0c83d8cfaad751f9caa1c41657 (patch) | |
tree | 932d98b455043bab8a6123d404b2131193a4d203 /subr.ex | |
parent | 131fe2372940b4ef107454e0f1454be7aa08e901 (diff) | |
download | midipix_build-80900b74bf135e0c83d8cfaad751f9caa1c41657.tar.bz2 midipix_build-80900b74bf135e0c83d8cfaad751f9caa1c41657.tar.xz |
subr.ex/ex_pkg_restart.subr:exp_pkg_expand_restart_at_virtual(): correctly reject invalid virtual build steps.
Diffstat (limited to 'subr.ex')
-rw-r--r-- | subr.ex/ex_pkg_restart.subr | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/subr.ex/ex_pkg_restart.subr b/subr.ex/ex_pkg_restart.subr index 89f1a461..4548f1bb 100644 --- a/subr.ex/ex_pkg_restart.subr +++ b/subr.ex/ex_pkg_restart.subr @@ -164,11 +164,9 @@ exp_pkg_expand_restart_at_virtual() { _epera_at="${1}"; shift; if [ "${_epera_at#@}" != "${_epera_at}" ]; then _epera_at="${_epera_at#@}"; - _epera_rc=1; - rtl_setrstatus "${_epera_rstatus}" 'invalid virtual build step \`'"${_epera_at}"''\'''; if [ "${_epera_at%[!0-9a-zA-Z_]*}" != "${_epera_at}" ]; then _epera_rc=1; - + rtl_setrstatus "${_epera_rstatus}" 'invalid virtual build step \`'"${_epera_at}"''\'''; elif eval [ '"${'"${_epera_rset}${_epera_at}"':+1}"' = 1 ]; then eval _epera_at='${'"${_epera_rset}${_epera_at}"'}'; else |