blob: 2ce68627f43777f312af8b9dff7a8af2ec913076 (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/env bash
set -e
grep -E -q 'RELEASE=NO' ${1}/configure.ac ||
grep -E -q '\[[0-9]+\.[0-9]+\.[0-9]+\]' ${1}/configure.ac ||
( echo "error: configure.ac: GHC version number must have three components when RELEASE=YES."; exit 1 )
|