Home | History | Annotate | Download | only in bin
      1 #!/usr/bin/env bash
      2 
      3 unamestr=`uname`
      4 if [ "$unamestr" = "Linux" -o "$unamestr" = "linux" ]; then
      5 	export LD_LIBRARY_PATH=$ANDROID_BUILD_TOP/external/selinux/prebuilts/lib
      6 	export PYTHONPATH=$ANDROID_BUILD_TOP/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages
      7 	python $ANDROID_BUILD_TOP/external/selinux/policycoreutils/audit2allow/audit2allow "$@"
      8 else
      9 	echo "audit2allow is only supported on linux"
     10 fi
     11