Use double-quotes on lines w/ string interpolation
This commit is contained in:
parent
7f96369477
commit
6fd10c1eb4
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ class P0f < Formula
|
|||
sha1 'ae2c4fbcddf2a5ced33abd81992405b93207e7c8'
|
||||
|
||||
def install
|
||||
inreplace 'config.h', 'p0f.fp', "#{etc}/p0f/p0f.fp"
|
||||
inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp"
|
||||
system './build.sh'
|
||||
sbin.install 'p0f'
|
||||
(etc + 'p0f').install 'p0f.fp'
|
||||
|
@ -19,6 +19,6 @@ class P0f < Formula
|
|||
'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \
|
||||
'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA'
|
||||
(testpath / 'test.pcap').write(Base64.decode64(pcap))
|
||||
system "#{sbin}/p0f", '-r', 'test.pcap'
|
||||
system "#{sbin}/p0f", "-r", "test.pcap"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue