lib/pah/files/lib/tasks/tasks.rake in pah-0.0.4 vs lib/pah/files/lib/tasks/tasks.rake in pah-0.0.5
- old
+ new
@@ -1,6 +1,6 @@
namespace :heroku do
- APP = ENV['APP']
+ APP = ENV['APP'] unless defined?(APP)
def run(*cmd)
system(*cmd)
raise "Command #{cmd.inspect} failed!" unless $?.success?
end