[Git][ghc/ghc][master] linters: Fix check-version-number

Ben Gamari gitlab at gitlab.haskell.org
Sat Apr 13 13:52:02 UTC 2019



Ben Gamari pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
7876d088 by Ben Gamari at 2019-04-13T13:51:59Z
linters: Fix check-version-number

This should have used `grep -E`, not `grep -e`
- - - - -


1 changed file:

- .gitlab/linters/check-version-number.sh


Changes:

=====================================
.gitlab/linters/check-version-number.sh
=====================================
@@ -2,5 +2,5 @@
 
 set -e
 
-grep -e -q '\[[0-9]+\.[0-9]+\.[0-9]+\]' configure.ac ||
+grep -E -q '\[[0-9]+\.[0-9]+\.[0-9]+\]' configure.ac ||
   ( echo "error: configure.ac: GHC version number must have three components."; exit 1 )



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/7876d08881b66c3e47d8dab3420c9c14616325e4

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/7876d08881b66c3e47d8dab3420c9c14616325e4
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190413/df005876/attachment.html>


More information about the ghc-commits mailing list