Skip to content

Commit

Permalink
bench: Remove workaround for : in $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed Aug 18, 2024
1 parent 9462e5a commit 9cf398b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bench/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,7 @@ setup() {
)
done

# $SETUP_DIR contains `:` so it won't work in $PATH
# Work around this with a symlink
tmp=$(as-user mktemp)
as-user ln -sf "$bin" "$tmp"
defer rm "$tmp"
export PATH="$tmp:$PATH"
export PATH="$bin:$PATH"
fi

export_array BFS
Expand Down

0 comments on commit 9cf398b

Please sign in to comment.