]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqemu-gen-tapdevs: fix missing variable quote
authorTrevor Gamblin <tgamblin@baylibre.com>
Mon, 19 Jun 2023 13:22:25 +0000 (09:22 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Jun 2023 13:25:34 +0000 (14:25 +0100)
Commit d43c41fcaf061eaf8bff7bc03de19cdc80226796 refactors the script but
there's a missing '"' in one line, leading to the following message:

poky/scripts/runqemu-gen-tapdevs: command substitution: line 62: unexpected EOF while looking for matching `"'

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-gen-tapdevs

index 4f8ea979d236f8d4d1bef7587523b95700fdbfc9..ec3ecb03b9b288edc14551c2f390dc4b387d0581 100755 (executable)
@@ -59,7 +59,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then
 fi
 
 if interfaces=`ip tuntap list` 2>/dev/null; then
-       interfaces=`echo "$interfaces |cut -f1 -d:`
+       interfaces=`echo "$interfaces" |cut -f1 -d:`
 else
        echo "Failed to call 'ip tuntap list'" >&2
        exit 1