You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/04/15 17:22:10 UTC

[trafficserver] branch master updated: TS-4250 fix (#563)

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  400742a   TS-4250 fix (#563)
400742a is described below

commit 400742afcd78ec0189ed628f52b942872ff7455d
Author: Daniel Xu <da...@users.noreply.github.com>
AuthorDate: Fri Apr 15 10:22:02 2016 -0500

    TS-4250 fix (#563)
    
    * TS-4250 clang-format breaks on Centos 6
    
    Change clang-format.sh to use native sha1sum command
    when available.
    
    * Fix shasum command error
    
    We can safely remove the `-a 1` flag for the command since
    the default for `shasum` is `-a 1` already.
---
 tools/clang-format.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/clang-format.sh b/tools/clang-format.sh
index 0dca9b3..aab69a0 100755
--- a/tools/clang-format.sh
+++ b/tools/clang-format.sh
@@ -56,7 +56,7 @@ if [ ! -e ${FORMAT} ] ; then
   cat > ${ROOT}/sha1 << EOF
 7117c5bed99da43be733427970b4239f4bd8063d  ${ARCHIVE}
 EOF
-  ${SHASUM} -a 1 -c ${ROOT}/sha1
+  ${SHASUM} -c ${ROOT}/sha1
 fi
 
 for file in $(find $DIR -iname \*.[ch] -o -iname \*.cc); do

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].