From a3ee0d54e48de17f849c85f25c7e2c945520c0d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Fri, 26 Apr 2024 07:33:15 +0200 Subject: subr.ex/ex_pkg_restart.subr:exp_pkg_expand_restart_at_spec_cmp(): make syntax amenable to treesitter. --- subr.ex/ex_pkg_restart.subr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subr.ex/ex_pkg_restart.subr b/subr.ex/ex_pkg_restart.subr index 4548f1bb..a0cf220e 100644 --- a/subr.ex/ex_pkg_restart.subr +++ b/subr.ex/ex_pkg_restart.subr @@ -113,11 +113,11 @@ exp_pkg_expand_restart_at_spec_cmp() { "${_eperasc_spec_at0%%,*}" \$_eperasc_spec_at0 \ "${_eperasc_rset}" \ && exp_pkg_check_restart_at "${_eperasc_rstatus}" \$_eperasc_spec_at0; then - if [ \( "${_eperasc_eqfl}" -eq 1 \) -a \( "${_eperasc_ltfl}" -eq 1 \) ]\ - || [ \( "${_eperasc_eqfl}" -eq 0 \) -a \( "${_eperasc_ltfl}" -eq 0 \) ]; then + if [ "${_eperasc_eqfl}" -eq 1 -a "${_eperasc_ltfl}" -eq 1 ]\ + || [ "${_eperasc_eqfl}" -eq 0 -a "${_eperasc_ltfl}" -eq 0 ]; then _eperasc_spec_at0="${_eperasc_spec_at0##*,}"; - elif [ \( "${_eperasc_eqfl}" -eq 1 \) -a \( "${_eperasc_ltfl}" -eq 0 \) ]\ - || [ \( "${_eperasc_eqfl}" -eq 0 \) -a \( "${_eperasc_ltfl}" -eq 1 \) ]; then + elif [ "${_eperasc_eqfl}" -eq 1 -a "${_eperasc_ltfl}" -eq 0 ]\ + || [ "${_eperasc_eqfl}" -eq 0 -a "${_eperasc_ltfl}" -eq 1 ]; then _eperasc_spec_at0="${_eperasc_spec_at0%%,*}"; fi; -- cgit v1.2.3