scripts/update-recipe-checksums.sh: Fix by ignoring quotes in output

The have been introduced recently and turned our search and replace to noop

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2021-08-17 16:42:45 +02:00
parent 6ca627cb01
commit 4c3d75c89a

View File

@@ -38,7 +38,7 @@ echo -e "${style_bold}Run bitbake -k --runall=fetch $@...${style_normal}"
bitbake -k --runall=fetch "$@" 2>&1 | while read line; do
if echo "$line" | grep -q "was expected"; then
# Shorten line to ensure not being confused by filenames containing spaces
line=`echo "$line" | sed 's:.*checksum ::'`
line=`echo "$line" | sed 's:.*checksum ::' | sed "s:'::g"`
# Extract checksums
newchecksum=`echo "$line" | awk '{print $1}'`
oldchecksum=`echo "$line" | awk '{print $3}'`