aboutsummaryrefslogtreecommitdiff
path: root/selinux/compile.sh
blob: f70ab1b0b0339cbe33ef540261ed5f16b3963dda (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -x
set -e

OUTDIR="$(dirname $0)"
checkmodule -M -m -o ${OUTDIR}/ptunnel-ng.mod ${OUTDIR}/ptunnel-ng.te
semodule_package -o ${OUTDIR}/ptunnel-ng.pp -m ${OUTDIR}/ptunnel-ng.mod

exit 0