bin/appbundle-updater in appbundle-updater-0.6.6 vs bin/appbundle-updater in appbundle-updater-0.6.7
- old
+ new
@@ -190,10 +190,11 @@
def initialize(options)
@app = options[:app]
@ref = options[:ref]
@tarball = options[:tarball]
+ @extra_bin_files = options[:extra_bin_files]
@repo = options[:repo] || @app.repo
end
def start
if !windows? && Process.uid != 0
@@ -252,10 +253,10 @@
end
banner("Updating appbundler binstubs for #{app}")
Dir.chdir(app_dir) do
cmd = "#{bin_dir.join("appbundler")} #{app_dir} #{chefdk.join("bin")}"
- cmd += " --extra-bin-files #{options[:extra_bin_files]}" if options[:extra_bin_files]
+ cmd += " --extra-bin-files #{@extra_bin_files}" if @extra_bin_files
ruby(cmd)
end
banner("Finished!")
end