Scripts: unbreak POSIX shell

This commit is contained in:
Franco Fichtner 2024-09-13 09:56:48 +02:00
parent 962e58c367
commit 1fbc89f6e0

View File

@ -37,7 +37,7 @@ for WIDGET in ${WIDGETS}; do
continue
fi
ENDPOINTS=$((grep -o 'this\.ajaxCall([^,)]*' ${WIDGET} | cut -c 15-;
ENDPOINTS=$( (grep -o 'this\.ajaxCall([^,)]*' ${WIDGET} | cut -c 15-;
grep -o 'super\.openEventSource([^,)]*' ${WIDGET} | cut -c 23-) |
tr -d "'" | tr -d '`' | sed 's:\$.*:*:' | sort -u)