diff options
| author | Jack Nagel | 2014-09-24 00:35:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-24 00:35:48 -0500 |
| commit | 6a79c20c8ec140a4179c536722bf465ec55447c4 (patch) | |
| tree | 5bbc4f521563b811b10c8d41bd401cc85814990d /Library/Formula | |
| parent | df193d07c8a88d0248aa90384bb2f40f5432b9a2 (diff) | |
| download | homebrew-6a79c20c8ec140a4179c536722bf465ec55447c4.tar.bz2 | |
zookeeper: remove redundant comments
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/zookeeper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb index 5af9268c9..47293628f 100644 --- a/Library/Formula/zookeeper.rb +++ b/Library/Formula/zookeeper.rb @@ -60,13 +60,11 @@ class Zookeeper < Formula ENV['ARCHFLAGS'] = Hardware::CPU.universal_archs.as_arch_flags end - # Prep work for svn compile. if build.head? system "ant", "compile_jute" system "autoreconf", "-fvi", "src/c" end - # Build & install C libraries. cd "src/c" do system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", @@ -74,7 +72,6 @@ class Zookeeper < Formula system "make install" end - # Install Perl bindings cd "src/contrib/zkperl" do system "perl", "Makefile.PL", "PREFIX=#{prefix}", "--zookeeper-include=#{include}/c-client-src", @@ -82,10 +79,8 @@ class Zookeeper < Formula system "make install" end if build.include? "perl" - # Remove windows executables rm_f Dir["bin/*.cmd"] - # Install Java stuff if build.head? system "ant" libexec.install Dir["bin", "src/contrib", "src/java/lib", "build/*.jar"] @@ -93,13 +88,11 @@ class Zookeeper < Formula libexec.install Dir["bin", "contrib", "lib", "*.jar"] end - # Create necessary directories bin.mkpath (etc+'zookeeper').mkpath (var+'log/zookeeper').mkpath (var+'run/zookeeper/data').mkpath - # Install shim scripts to bin Pathname.glob("#{libexec}/bin/*.sh") do |path| next if path == libexec+'bin/zkEnv.sh' script_name = path.basename @@ -107,7 +100,6 @@ class Zookeeper < Formula (bin+bin_name).write shim_script(script_name) end - # Install default config files defaults = etc/'zookeeper/defaults' defaults.write(default_zk_env) unless defaults.exist? |
