Don't chdir just to do a glob
This commit is contained in:
parent
da26203912
commit
9030c19418
@ -87,9 +87,7 @@ class Keg < Pathname
|
|||||||
end
|
end
|
||||||
|
|
||||||
def plist_installed?
|
def plist_installed?
|
||||||
Dir.chdir self do
|
not Dir.glob("#{self}/*.plist").empty?
|
||||||
not Dir.glob("*.plist").empty?
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def python_site_packages_installed?
|
def python_site_packages_installed?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user