Skip to content

Commit c7eeea0

Browse files
committed
readme: List licensecheck dependecy
This was an omission in commit 472c7fb Also make the error message in case of a misssing licensecheck more descriptive.
1 parent 12758c4 commit c7eeea0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ To use, just run: `brotli subFile.ass` and use the .br result file with the subU
165165
* itstool - Required by Fontconfig
166166
* python3-ply - Required by WebIDL
167167
* gperf - Required by Fontconfig
168+
* licensecheck
168169

169170
### Get the Source
170171

build/license_extract.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ if [ -z "$def_license" ] || [ "$def_license" = "$def_copy" ] ; then
3333
exit 1
3434
fi
3535

36+
if command -v licensecheck >/dev/null ; then
37+
:
38+
else
39+
echo "Could not find licensecheck!" >&2
40+
exit 2
41+
fi
42+
43+
3644
find "$base_dir" $FINDOPTS -type f -regextype egrep -regex '.*\.(c|h|cpp|hpp|js)$' -exec \
3745
licensecheck --machine --copyright --deb-fmt '{}' \; \
3846
| awk -F"$tabulator" -v base_dir="$base_dir" \

0 commit comments

Comments
 (0)