File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -153,17 +153,17 @@ def omnibus_env
153153 end
154154 end
155155
156- def get_pkg_prefix
157- pkg_origin = "chef"
158- pkg_name = "#{ pkg_origin } /chef-cli" # Your origin and package name
159- path = `hab pkg path #{ pkg_name } ` . strip
160-
161- if $?. success? && !path . empty?
162- path
163- else
164- raise "Failed to get pkg_prefix for #{ pkg_name } : #{ path } "
165- end
166- end
156+ # def get_pkg_prefix
157+ # pkg_origin = "chef"
158+ # pkg_name = "#{pkg_origin}/chef-cli" # Your origin and package name
159+ # path = `hab pkg path #{pkg_name}`.strip
160+
161+ # if $?.success? && !path.empty?
162+ # path
163+ # else
164+ # raise "Failed to get pkg_prefix for #{pkg_name}: #{path}"
165+ # end
166+ # end
167167
168168 def omnibus_expand_path ( *paths )
169169 dir = File . expand_path ( File . join ( paths ) )
You can’t perform that action at this time.
0 commit comments