Skip to content

Commit 7fc628b

Browse files
committed
archive-fonts: Fix shellcheck warning
[why] This warning turns up with shellcheck 0.9.0, but not with 0.8.0 which we used previously. Signed-off-by: Fini Jastrow <[email protected]>
1 parent 7f7a9fd commit 7fc628b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/scripts/archive-fonts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ while read -r filename; do
8888
(cd "$path" && tar rf "$outputdir/$basename.tar" --no-recursion "$file")
8989
done < <(find "${searchdir}" -type f -exec bash -c 'printf "%s\000" "{}" | sed "s!\(.*\)/!\1|!"' \; | sort -z -u '-t|' -k2,2 | sort -z)
9090

91-
if [ $expected -ne 0 ]; then
91+
if [ "$expected" -ne 0 ]; then
9292
# Should never happen, but who knows
9393
echo "${LINE_PREFIX} Did not pack expected number of font files! Likely same font names for different paths."
9494
exit 1

0 commit comments

Comments
 (0)