aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/samba.rb
diff options
context:
space:
mode:
authorJack Nagel2012-09-06 17:50:12 -0500
committerJack Nagel2012-09-06 17:50:12 -0500
commite8111247320cf13150462be6a45aa6cd4cd79161 (patch)
tree4bed39204efa7abfe1deb331821a4817577a4ea2 /Library/Formula/samba.rb
parent88ea00556cf99c084c03b0eb5186b4fd85e9bc54 (diff)
downloadhomebrew-e8111247320cf13150462be6a45aa6cd4cd79161.tar.bz2
Use FileUtils.touch instead of shelling out
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/samba.rb')
-rw-r--r--Library/Formula/samba.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb
index fdc3b8d49..7dbae19b9 100644
--- a/Library/Formula/samba.rb
+++ b/Library/Formula/samba.rb
@@ -28,7 +28,7 @@ class Samba < Formula
"--with-configdir=#{prefix}/etc"
system "make install"
(prefix/'etc').mkpath
- system "touch", "#{prefix}/etc/smb.conf"
+ touch prefix/'etc/smb.conf'
end
end
end