lib/bowline/tasks/app.rake in maccman-bowline-0.4.1 vs lib/bowline/tasks/app.rake in maccman-bowline-0.4.3
- old
+ new
@@ -117,10 +117,10 @@
desc "Use the Titanium SDK to build the app"
task :build do
build_path = File.join(APP_ROOT, 'build')
app_path = File.join(build_path, 'app')
- ti_path = ENV['TIPATH'] || begin
+ ti_path = ENV['TIPATH'] ? ENV['TIPATH'].dup : begin
if RUBY_PLATFORM =~ /darwin/
'/Library/Application Support/Titanium'
elsif RUBY_PLATFORM =~ /win/
'C:/ProgramData/Titanium'
elsif RUBY_PLATFORM =~ /linux/
\ No newline at end of file