You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/03/27 02:35:39 UTC

[arrow] branch master updated: ARROW-5023: [Release] Fix default value syntax in 02-source.sh

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

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a7c184  ARROW-5023: [Release] Fix default value syntax in 02-source.sh
2a7c184 is described below

commit 2a7c1846787cbb46847c92633e521d474502ac35
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Wed Mar 27 11:35:27 2019 +0900

    ARROW-5023: [Release] Fix default value syntax in 02-source.sh
    
    Author: Kouhei Sutou <ko...@clear-code.com>
    
    Closes #4040 from kou/release-fix-syntax and squashes the following commits:
    
    a109a9f0 <Kouhei Sutou>  Fix default value syntax in 02-source.sh
---
 dev/release/02-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/02-source.sh b/dev/release/02-source.sh
index 71a28ce..438c65e 100755
--- a/dev/release/02-source.sh
+++ b/dev/release/02-source.sh
@@ -34,7 +34,7 @@ tagrc=${tag}-rc${rc}
 
 echo "Preparing source for tag ${tag}"
 
-: ${release_hash=:`git rev-list $tag 2> /dev/null | head -n 1 `}
+: ${release_hash:=`git rev-list $tag 2> /dev/null | head -n 1 `}
 
 if [ -z "$release_hash" ]; then
   echo "Cannot continue: unknown git tag: $tag"