aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-16 16:12:25 -0500
committerJack Nagel2013-09-16 16:12:25 -0500
commit539d05e894c8627d1f352f56c3f62f9bbd03e9c1 (patch)
tree04bcc463a768b0862fd9b728d78a61304ec05120 /Library
parent69b64cda83f7fc6df61067c3b0879d395ba53b52 (diff)
downloadhomebrew-539d05e894c8627d1f352f56c3f62f9bbd03e9c1.tar.bz2
Rephrase conditional
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 91a49d3d1..3578ba93f 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -121,7 +121,7 @@ class FormulaCreator
class #{Formula.class_s name} < Formula
homepage ''
url '#{url}'
- <% if not version.nil? and not version.detected_from_url? %>
+ <% unless version.nil? or version.detected_from_url? %>
version '#{version}'
<% end %>
sha1 '#{sha1}'