Skip to contentSkip to conversation

sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path

PATCH New Laurent Bigonville 1 participant 1 message Jan 8, 2013 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path

From: Laurent Bigonville <[email protected]>

---
 sepolgen/src/sepolgen/module.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sepolgen/src/sepolgen/module.py +1 -1
index 5818cec..7fc9443 100644
@@ -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):
Signature · 7 lines
1.7.10.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.