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

kszucs pushed a commit to branch maint-1.0.x
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit 6dd915295c62c658e0c9dbb1090b5286a2c1e163
Author: Neal Richardson <neal.p.richard...@gmail.com>
AuthorDate: Wed Jul 29 15:40:31 2020 -0700

    ARROW-9596: [CI][Crossbow] Fix homebrew-cpp again, again
    
    Closes #7860 from nealrichardson/fix-homebrew-again-again
    
    Authored-by: Neal Richardson <neal.p.richard...@gmail.com>
    Signed-off-by: Neal Richardson <neal.p.richard...@gmail.com>
---
 dev/tasks/homebrew-formulae/travis.osx.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/tasks/homebrew-formulae/travis.osx.yml 
b/dev/tasks/homebrew-formulae/travis.osx.yml
index 8e2e246..b49dbd6 100644
--- a/dev/tasks/homebrew-formulae/travis.osx.yml
+++ b/dev/tasks/homebrew-formulae/travis.osx.yml
@@ -32,7 +32,8 @@ before_script:
 - git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
 - if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{ 
arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi
 # Pin the current commit in the formula to test so that we're not always 
pulling from master
-- sed -i.bak -E -e 's@https://github.com/apache/arrow.git"$@{{ arrow.remote 
}}.git", :revision => "{{ arrow.head }}"@' $ARROW_FORMULA && rm -f 
$ARROW_FORMULA.bak
+- |
+  sed -i.bak -E -e 's@https://github.com/apache/arrow.git"$@{{ arrow.remote 
}}.git", revision: "{{ arrow.head }}"@' $ARROW_FORMULA && rm -f 
$ARROW_FORMULA.bak
 # Sometimes crossbow gives a remote URL with .git and sometimes not. Make sure 
there's only one
 - sed -i.bak -E -e 's...@.git.git@.git@' $ARROW_FORMULA && rm -f 
$ARROW_FORMULA.bak
 - brew update

Reply via email to