From: Trevor Gamblin Date: Mon, 19 Jun 2023 13:22:25 +0000 (-0400) Subject: runqemu-gen-tapdevs: fix missing variable quote X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~584 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94b9b1333a5f779316b9698bb3e4fa7246bae78e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqemu-gen-tapdevs: fix missing variable quote 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index 4f8ea979d23..ec3ecb03b9b 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs @@ -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