Sacar bashism de run-script

This commit is contained in:
void 2020-07-03 18:02:09 -03:00
parent b394eb8458
commit 982164ad89

View File

@ -29,7 +29,7 @@ event=${0##*/}; event=${event%-*}
state=${0##*/}; state=${state#*-}
# evitar que el script falle cuando no hay ningun script
type shopt &>/dev/null && shopt -s nullglob
type shopt >/dev/null && shopt -s nullglob
for _script in scripts/${event}-*; do
# si no hay nullglob va a llegar un archivo con * literal (ej. ash)