Move the fixopt method into the Build class
This commit is contained in:
parent
8df8f437f0
commit
8a971f7268
@ -208,7 +208,6 @@ class Build
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
def fixopt f
|
def fixopt f
|
||||||
path = if f.linked_keg.directory? and f.linked_keg.symlink?
|
path = if f.linked_keg.directory? and f.linked_keg.symlink?
|
||||||
@ -224,3 +223,4 @@ def fixopt f
|
|||||||
rescue StandardError
|
rescue StandardError
|
||||||
raise "#{f.opt_prefix} not present or broken\nPlease reinstall #{f}. Sorry :("
|
raise "#{f.opt_prefix} not present or broken\nPlease reinstall #{f}. Sorry :("
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user