Use double-quotes on lines w/ string interpolation

This commit is contained in:
J. Brandt Buckley 2014-10-01 16:57:26 -07:00 committed by Mike McQuaid
parent 7f96369477
commit 6fd10c1eb4

View file

@ -6,7 +6,7 @@ class P0f < Formula
sha1 'ae2c4fbcddf2a5ced33abd81992405b93207e7c8' sha1 'ae2c4fbcddf2a5ced33abd81992405b93207e7c8'
def install def install
inreplace 'config.h', 'p0f.fp', "#{etc}/p0f/p0f.fp" inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp"
system './build.sh' system './build.sh'
sbin.install 'p0f' sbin.install 'p0f'
(etc + 'p0f').install 'p0f.fp' (etc + 'p0f').install 'p0f.fp'
@ -19,6 +19,6 @@ class P0f < Formula
'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \ 'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \
'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA' 'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA'
(testpath / 'test.pcap').write(Base64.decode64(pcap)) (testpath / 'test.pcap').write(Base64.decode64(pcap))
system "#{sbin}/p0f", '-r', 'test.pcap' system "#{sbin}/p0f", "-r", "test.pcap"
end end
end end