mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Park (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-5125) Commit message hook iterates over words, rather than lines.
Date Tue, 05 Apr 2016 19:44:25 GMT
Michael Park created MESOS-5125:
-----------------------------------

             Summary: Commit message hook iterates over words, rather than lines.
                 Key: MESOS-5125
                 URL: https://issues.apache.org/jira/browse/MESOS-5125
             Project: Mesos
          Issue Type: Bug
            Reporter: Michael Park
            Assignee: Michael Park
             Fix For: 0.29.0


{{for LINE in $COMMIT_MESSAGE}} iterates over one word at a time, rather than one line at
a time. We should use the following pattern instead:
{code}
while read LINE;
do
  ...
done <<< "$COMMIT_MESSAGE"
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message