Kaydet (Commit) e20f6464 authored tarafından Yeliz Taneroğlu's avatar Yeliz Taneroğlu Kaydeden (comit) Chris Sherlock

tdf#105204: ShellCheck nitpicks for find-unused-data.sh

Double quote to prevent globbing and word splitting.

Change-Id: I09faac27ca5c63a85b9b8cbd4f09821587bf4759
Reviewed-on: https://gerrit.libreoffice.org/37545Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
üst 6c80b373
......@@ -2,8 +2,8 @@
for i in */data/*
do
file=$(basename $i)
if ! git grep -q $file; then
file=$(basename "$i")
if ! git grep -q "$file"; then
echo "WARNING: $i is not used, write a testcase for it!"
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment