Skip to content

Commit

Permalink
Fix computation of spicyz path from zkg store.
Browse files Browse the repository at this point in the history
In cedb9d5 we introduced a fallback
mechanism for when `spicyz` was not found in `PATH`. This patch fixes an
incorrect omission in that change.
f
  • Loading branch information
bbannier committed Jun 29, 2022
1 parent 99e3950 commit 986c747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zkg.meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ summary = Spicy-based analyzer for the DNS protocol
description = Spicy-based analyzer for the DNS protocol.
script_dir = analyzer
plugin_dir = build/spicy-modules
build_command = mkdir -p build && cd build && SPICYZ=$(command -v spicyz || %(package_base)s/spicy-plugin/build/bin/spicyz) cmake .. && cmake --build .
build_command = mkdir -p build && cd build && SPICYZ=$(command -v spicyz || echo %(package_base)s/spicy-plugin/build/bin/spicyz) cmake .. && cmake --build .
test_command = cd tests && PATH=$(zkg config plugin_dir)/packages/spicy-plugin/bin:$PATH btest -d -j $(nproc)

0 comments on commit 986c747

Please sign in to comment.