Revision e59f2795fc2d23acc7a880e37e2d31ba0b0904ef authored by Emmanuel Thomé on 11 April 2021, 10:11:25 UTC, committed by Emmanuel Thomé on 11 April 2021, 10:11:53 UTC
1 parent 633dd9c
check_repo_policies.sh
#!/usr/bin/env bash
set -e
if [ "$YES_I_KNOW_WHAT_I_AM_DOING" ] ; then
exit 0
fi
# This is readlink -f on many unices. Alas, not on mac.
if [ "`uname -s`" = Darwin ] ; then
# use code from https://github.com/mkropat/sh-realpath, MIT-licensed.
source "`dirname $0`/realpath.sh"
readlink_f() { realpath "$@" ; }
else
readlink_f() { readlink -f "$@" ; }
fi
me="$(readlink_f "$0")"
dir="$(dirname "$me")"
"$dir/check_file_lists.pl"
"$dir/check_compilation_units_policy.pl"
Computing file changes ...