Update ddnet-libs, fix shellcheck

This commit is contained in:
Dennis Felsing 2022-02-24 10:51:31 +01:00
parent 8bed1c7267
commit af36070c91
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 635aa7afb698ed68feeb733aaea2cf861c2a1899
Subproject commit f141c4e97ee0183204e55bd29f142fbcb3bff7a1

View file

@ -12,7 +12,7 @@ if [ -z ${2+x} ]; then
exit 1
fi
TMP_OFFSET=$(cat "$2" | grep -E -o "\(with offset [0-9A-F]*\)" | grep -E -o "[A-F0-9]*")
TMP_OFFSET=$(grep -E -o "\(with offset [0-9A-F]*\)" "$2" | grep -E -o "[A-F0-9]*")
ADDR_PC_REGEX='[0-9A-F]+ [0-9A-F]+ [0-9A-F]+ [0-9A-F]+'
while read -r line