sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path
Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
f27af4a6fb
commit
7b3a9a30eb
|
@ -120,7 +120,7 @@ class ModuleCompiler:
|
|||
self.semodule_package = "/usr/bin/semodule_package"
|
||||
self.output = output
|
||||
self.last_output = ""
|
||||
self.refpol_makefile = "/usr/share/selinux/devel/Makefile"
|
||||
self.refpol_makefile = defaults.refpolicy_makefile()
|
||||
self.make = "/usr/bin/make"
|
||||
|
||||
def o(self, str):
|
||||
|
|
Loading…
Reference in New Issue