summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell2022-08-25 17:07:01 +0200
committerPeter Maydell2022-09-22 17:38:29 +0200
commitcc3c71e89f0b1b18024030976fda650d27806c9f (patch)
treee0da41a98494d61b2268aff3a976c46f0caa3081 /configure
parentconfigure: Add './' on front of glob of */config-devices.mak.d (diff)
downloadqemu-cc3c71e89f0b1b18024030976fda650d27806c9f.tar.gz
qemu-cc3c71e89f0b1b18024030976fda650d27806c9f.tar.xz
qemu-cc3c71e89f0b1b18024030976fda650d27806c9f.zip
configure: Remove use of backtick `...` syntax
There's only one place in configure where we use `...` to execute a command and capture the result. Switch to $() to match the rest of the script. This silences a shellcheck warning. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20220825150703.4074125-6-peter.maydell@linaro.org
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 482497e974..8b48e72a13 100755
--- a/configure
+++ b/configure
@@ -2311,7 +2311,7 @@ LINKS="$LINKS python"
LINKS="$LINKS contrib/plugins/Makefile "
for f in $LINKS ; do
if [ -e "$source_path/$f" ]; then
- mkdir -p `dirname ./$f`
+ mkdir -p "$(dirname ./"$f")"
symlink "$source_path/$f" "$f"
fi
done