Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format picohttpparser shell script to appease CI #6561

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/http/picohttpparser/example_picohttpparser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HOST_DIR=$(dirname "$HOST_PATH")
# mount the file if it's not already in /workdir
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
if [[ "$HOST_DIR" == "$SCRIPT_DIR" ]]; then
docker run --read-only -ti --rm -e POLYPATH="$1" -e POLYDB="$1.tdag" -e POLYTRACKER_STDOUT_SINK=1\
surovic marked this conversation as resolved.
Show resolved Hide resolved
docker run --read-only -ti --rm -e POLYPATH="$1" -e POLYDB="$1.tdag" -e POLYTRACKER_STDOUT_SINK=1 \
--mount type=bind,source="$(pwd)",target=/workdir trailofbits/polytracker-demo-http-picohttpparser:latest \
/polytracker/examples/http/picohttpparser/example_picohttpparser_track "$1"
else
Expand Down
Loading