diff options
author | Laurent Bigonville <bigon@bigon.be> | 2013-01-08 12:03:00 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-02-05 20:14:47 -0500 |
commit | 7b3a9a30ebf3188aa086571728da3496ca186451 (patch) | |
tree | 1a6b768f821397d4273ae6bbac4569780315632e | |
parent | f27af4a6fb34fc9de554a311e107c1342c3b9b9c (diff) | |
download | android_external_selinux-7b3a9a30ebf3188aa086571728da3496ca186451.tar.gz android_external_selinux-7b3a9a30ebf3188aa086571728da3496ca186451.tar.bz2 android_external_selinux-7b3a9a30ebf3188aa086571728da3496ca186451.zip |
sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
-rw-r--r-- | sepolgen/src/sepolgen/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolgen/src/sepolgen/module.py b/sepolgen/src/sepolgen/module.py index 5818cecb..7fc94434 100644 --- a/sepolgen/src/sepolgen/module.py +++ b/sepolgen/src/sepolgen/module.py @@ -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): |