lib/percheron/actions/base.rb in percheron-0.7.6 vs lib/percheron/actions/base.rb in percheron-0.7.7
- old
+ new
@@ -1,9 +1,9 @@
module Percheron
module Actions
module Base
def base_dir
- container.dockerfile.dirname.to_s
+ unit.dockerfile.dirname.to_s
end
def in_working_directory(new_dir)
old_dir = Dir.pwd
Dir.chdir(new_dir)