Skip to content

Commit 9ce6245

Browse files
committed
Fix "zip: Argument list too long"
1 parent 2d27931 commit 9ce6245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clusterfuzzlite/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ do
133133
cp "$test_path" "$OUT/"
134134
corpus_dir="corpus/corpus/$test_name_we"
135135
if [ -e "$corpus_dir" ]; then
136-
zip -j $OUT/"$test_name_we"_seed_corpus.zip $corpus_dir/*
137136
echo "Build corpus '$OUT/"$test_name_we"_seed_corpus.zip' for the test '$test_name_we'"
137+
find "$corpus_dir" -mindepth 1 -maxdepth 1 | zip -@ -j $OUT/"$test_name_we"_seed_corpus.zip
138138
fi
139139
done
140140

0 commit comments

Comments
 (0)