Permalink
Browse files

better default name

  • Loading branch information...
1 parent ac05ea7 commit 7d98337fac5a9f72448472dc9979731bbc20a146 @ddollar ddollar committed Jun 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vulcan/cli.rb
View
@@ -32,7 +32,7 @@ def build
app = read_config[:app] || "need a server first, use vulcan create"
source = options[:source] || Dir.pwd
- name = options[:name] || File.basename(source)
+ name = options[:name] || File.basename(source, File.extname(source))
output = options[:output] || "/tmp/#{name}.tgz"
prefix = options[:prefix] || "/app/vendor/#{name}"
command = options[:command] || "./configure --prefix #{prefix} && make install"

0 comments on commit 7d98337

Please sign in to comment.