diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-08 11:28:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-08 17:16:20 +0200 |
commit | 360b9c7d6ee29943475e706582ad1e3d923b592d (patch) | |
tree | 1ecb2bd1c7a1a20991ccbd390a5d7200db205766 /bin | |
parent | 98f125ecbb2a80c34213f7e86a417f74ee7e13a1 (diff) |
oss-fuzz: drop more_fonts build step and just install the min wanted
Change-Id: I7e03be4c0137f49b8822991f91fdfe4367653c2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120172
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/oss-fuzz-build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh index e4b4b7eed625..dce831260067 100755 --- a/bin/oss-fuzz-build.sh +++ b/bin/oss-fuzz-build.sh @@ -33,7 +33,10 @@ for a in *fuzzer; do #some minimal fonts required mv $a $OUT mkdir -p $OUT/$a.fonts - cp $SRC/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf ../share/fonts/truetype/Liberation* $OUT/$a.fonts + for b in $SRC/liberation*fonts*; do + tar -x -C $OUT/$a.fonts -v --strip-components=1 --wildcards --no-anchored '*.ttf' -f $b + done + cp $SRC/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf $OUT/$a.fonts #minimal runtime requirements cp templateservices.rdb $OUT/$a.services.rdb cp types.rdb $OUT/$a.types.rdb |