]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: make distcheck scan for BOM markers
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Oct 2018 07:51:10 +0000 (09:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 12 Oct 2018 06:49:31 +0000 (08:49 +0200)
and remove BOM from projects/wolfssl_override.props

Closes #3126

.travis.yml
projects/wolfssl_override.props

index 1610d3e8b1e8829975e1f1d05b55f19c37335ad8..2e6919816801d218b3ee44d360c382dfc599445f 100644 (file)
@@ -320,6 +320,8 @@ script:
     - |
         set -eo pipefail
         if [ "$T" = "distcheck" ]; then
+            # find BOM markers and exit if we do
+            ! git grep `printf '\xef\xbb\xbf'`
             ./configure
             make
             ./maketgz 99.98.97
index e37d0b7aaed0363489eeec40334d8434643b605f..fab60f3c9eb8e3aa50554eec4d7a017ef3bf62ca 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!--
 We use this file to override some properties of the wolfSSL project files.