#!/usr/bin/env bash unamestr=`uname` if [ "$unamestr" = "Linux" -o "$unamestr" = "linux" ]; then export LD_LIBRARY_PATH=$ANDROID_BUILD_TOP/external/selinux/prebuilts/lib export PYTHONPATH=$ANDROID_BUILD_TOP/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages python $ANDROID_BUILD_TOP/external/selinux/policycoreutils/audit2allow/audit2allow "$@" else echo "audit2allow is only supported on linux" fi