summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_restart.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-19 18:02:16 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-19 18:02:16 +0200
commita7ecdcf5d0d55e8e695d5724c579f89ca2704f87 (patch)
tree0cfea1e3d2f5e87d5e3dc4ee3b139c546f50875d /subr/ex_pkg_restart.subr
parent5267e85792ae0c03106405bb8b3b7150f027c935 (diff)
downloadmidipix_build-a7ecdcf5d0d55e8e695d5724c579f89ca2704f87.tar.bz2
midipix_build-a7ecdcf5d0d55e8e695d5724c579f89ca2704f87.tar.xz
Switch to portable [!...] vs. [^...] patterns.
Diffstat (limited to 'subr/ex_pkg_restart.subr')
-rw-r--r--subr/ex_pkg_restart.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/ex_pkg_restart.subr b/subr/ex_pkg_restart.subr
index d6f2bee5..9e51df8b 100644
--- a/subr/ex_pkg_restart.subr
+++ b/subr/ex_pkg_restart.subr
@@ -150,7 +150,7 @@ exp_pkg_expand_restart_at_virtual() {
_epera_at="${1}"; shift;
if [ "${_epera_at#@}" != "${_epera_at}" ]; then
_epera_at="${_epera_at#@}";
- if [ "${_epera_at%[^0-9a-zA-Z_]*}" != "${_epera_at}" ]; then
+ if [ "${_epera_at%[!0-9a-zA-Z_]*}" != "${_epera_at}" ]; then
_status="invalid virtual build step \`${_epera_at}'"; _epera_rc=1;
elif eval [ '"${'"${_epera_rset}${_epera_at}"':+1}"' = 1 ]; then
eval _epera_at='${'"${_epera_rset}${_epera_at}"'}';