mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
Scripts: unbreak POSIX shell
This commit is contained in:
parent
962e58c367
commit
1fbc89f6e0
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user