aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLars2010-02-16 16:22:20 +0200
committerAdam Vandenberg2010-04-26 14:27:26 -0700
commit87e604d45189c98739f32d0d2372b6f377771a18 (patch)
treeb33f3dae0c5f0d08ab5c9ad3f14f74f17150a268 /Library/Formula
parent26dcae61cf0fac48075268c4681810750e1b8cdc (diff)
downloadhomebrew-87e604d45189c98739f32d0d2372b6f377771a18.tar.bz2
Fix tempfile creation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/idcomments.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/idcomments.rb b/Library/Formula/idcomments.rb
index 3a956fe32..fcad51a38 100644
--- a/Library/Formula/idcomments.rb
+++ b/Library/Formula/idcomments.rb
@@ -6,7 +6,8 @@ class Idcomments <Formula
md5 '6ceb271af37754657c7f81b3dba334de'
def install
- bin.install "idcomments"
+ inreplace 'idcomments', '$(tempfile)', '$(mktemp /tmp/idcomments.XXXXXXXX)'
+ bin.install 'idcomments'
doc.install %w(about changelog copyright todo)
end
end