Skip to content

Commit

Permalink
[funfuzz] Fix fuzzfetch invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Nov 12, 2024
1 parent 2c06852 commit f290334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/funfuzz/funfuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ git-clone git@fuzzing-shells-private:MozillaSecurity/fuzzing-shells-private.git
git remote add -t master origin https://github.com/MozillaSecurity/funfuzz
retry git fetch --depth 1 --no-tags origin master HEAD
git reset --hard FETCH_HEAD
rsync -rv --progress $HOME/fuzzing-shells-private/funfuzz/ .
rsync -rv --progress "$HOME/fuzzing-shells-private/funfuzz/" .
retry pip3 install -r requirements.txt
retry pip3 install -e .
)
Expand Down Expand Up @@ -111,7 +111,7 @@ function select-build () {
build="${builds[n]}"
if [[ ! -d "$BUILDS/$build" ]]
then
flags=(--central --target js -o "$BUILDS" -n "$build")
flags=(--target js -o "$BUILDS" -n "$build")
case "$build" in
mc-32-debug)
flags+=(--debug --cpu x86)
Expand All @@ -132,7 +132,7 @@ function select-build () {
exit 1
;;
esac
if python3 -m fuzzfetch "${flags[@]}"; then
if fuzzfetch "${flags[@]}"; then
break
else
echo "failed to download $build! ... picking again in 10s" >&2
Expand Down

0 comments on commit f290334

Please sign in to comment.