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:
Laurent Bigonville 2013-01-08 12:03:00 -05:00 committed by Eric Paris
parent f27af4a6fb
commit 7b3a9a30eb
1 changed files with 1 additions and 1 deletions

View File

@ -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):