LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/usr/bin/env bash |
| 2 |
|
| 3 |
REDBOLD="\033[31;1m" |
| 4 |
RESET="\033[0m" |
| 5 |
|
| 6 |
function redprint |
| 7 |
{ |
| 8 |
if [ "$COQ_CI_COLOR" ]; then |
| 9 |
printf "$REDBOLD%s$RESET\n" "$1" |
| 10 |
else |
| 11 |
printf '%s\n' "$1" |
| 12 |
fi |
| 13 |
} |
| 14 |
|
| 15 |
for f in $(git ls-files "dev/ci/user-overlays/") |
| 16 |
do |
| 17 |
if ! { [[ "$f" = dev/ci/user-overlays/README.md ]] || [[ "$f" == *.sh ]]; } |
| 18 |
then |
| 19 |
>&2 redprint "Bad overlay '$f'." |
| 20 |
>&2 echo "User overlays need to have extension .sh to be picked up!" |
| 21 |
exit 1 |
| 22 |
fi |
| 23 |
done |