Skip to content
This repository
Browse code

Allow PKG_NAME env variable to control the directory name used when '…

…rake dev' is used to generate a new rails app.

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#3278 state:committed]
  • Loading branch information...
commit e01f99786a586e41a36d3c1ddc66f080d04b4036 1 parent 173ee14
John Trupiano jtrupiano authored NZKoz committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/Rakefile
2  railties/Rakefile
@@ -9,7 +9,7 @@ require 'rbconfig'
9 9 require File.join(File.dirname(__FILE__), 'lib/rails', 'version')
10 10
11 11 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
12   -PKG_NAME = 'rails'
  12 +PKG_NAME = ENV['PKG_NAME'] || 'rails'
13 13 PKG_VERSION = Rails::VERSION::STRING + PKG_BUILD
14 14 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
15 15 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"

0 comments on commit e01f997

Please sign in to comment.
Something went wrong with that request. Please try again.