Permalink
Browse files

Fix syntax error, fix indentation.

  • Loading branch information...
1 parent 82eba71 commit 0334bfd0e751ad13fe6dd97034677aa3b1a5f90d @FooBarWidget FooBarWidget committed Dec 3, 2010
Showing with 4 additions and 5 deletions.
  1. +4 −5 build/rpm.rb
View
9 build/rpm.rb
@@ -30,7 +30,7 @@ def sources_dir
end
def noisy_system(*args)
- puts(args.join) ' ' if @verbosity > 0
+ puts(args.join(' ')) if @verbosity > 0
system(*args)
end
@@ -48,9 +48,9 @@ def create_tarball(verbosity = 0)
end
def test_setup(*args)
- abort "Mock setup failed, see above for details" unless
- noisy_system('./rpm/release/mocksetup-first.sh', *args)
- NginxFetch.new.fetch(sources_dir)
+ abort "Mock setup failed, see above for details" unless
+ noisy_system('./rpm/release/mocksetup-first.sh', *args)
+ NginxFetch.new.fetch(sources_dir)
end
desc "Package the current release into a set of RPMs"
@@ -84,7 +84,6 @@ def test_setup(*args)
end
class NginxFetch < PhusionPassenger::AbstractInstaller
-
def fetch(dir)
tarball = "nginx-#{PREFERRED_NGINX_VERSION}.tar.gz"
return true if File.exists?("#{dir}/#{tarball}")

0 comments on commit 0334bfd

Please sign in to comment.