summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell2022-08-25 17:07:00 +0200
committerPeter Maydell2022-09-22 17:38:29 +0200
commit002d8c13df9f28bd3112edc1c1159b6d762d130f (patch)
tree7888f1578957e30a03a9cabb7d41fd79cc897481 /configure
parentconfigure: Add missing quoting for some easy cases (diff)
downloadqemu-002d8c13df9f28bd3112edc1c1159b6d762d130f.tar.gz
qemu-002d8c13df9f28bd3112edc1c1159b6d762d130f.tar.xz
qemu-002d8c13df9f28bd3112edc1c1159b6d762d130f.zip
configure: Add './' on front of glob of */config-devices.mak.d
Shellcheck warns that in rm -f */config-devices.mak.d the glob might expand to something with a '-' in it, which would then be misinterpreted as an option to rm. Fix this by adding './'. 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-5-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 86cc625918..482497e974 100755
--- a/configure
+++ b/configure
@@ -1093,7 +1093,7 @@ exit 0
fi
# Remove old dependency files to make sure that they get properly regenerated
-rm -f */config-devices.mak.d
+rm -f ./*/config-devices.mak.d
if test -z "$python"
then