Skip to content

Commit

Permalink
archive-fonts: Fix shellcheck warning
Browse files Browse the repository at this point in the history
[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]>
  • Loading branch information
Finii committed Jan 8, 2025
1 parent 7f7a9fd commit 7fc628b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/scripts/archive-fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ while read -r filename; do
(cd "$path" && tar rf "$outputdir/$basename.tar" --no-recursion "$file")
done < <(find "${searchdir}" -type f -exec bash -c 'printf "%s\000" "{}" | sed "s!\(.*\)/!\1|!"' \; | sort -z -u '-t|' -k2,2 | sort -z)

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

0 comments on commit 7fc628b

Please sign in to comment.