lib/s3repo/base.rb in s3repo-2.0.3 vs lib/s3repo/base.rb in s3repo-3.0.1
- old
+ new
@@ -14,9 +14,13 @@
results = `#{cmd} 2>&1`
return results if $CHILD_STATUS.success?
raise "Failed running #{cmd}:\n#{results}"
end
+ def targets
+ @targets ||= @options[:targets] || ['x86_64']
+ end
+
def bucket
@options[:bucket] || raise('No bucket given')
end
def client