arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-64: Add zsh support to C++ build scripts
Date Wed, 16 Mar 2016 22:14:00 GMT
Repository: arrow
Updated Branches:
  refs/heads/master 883c62bdd -> 5881aacef


ARROW-64: Add zsh support to C++ build scripts

All scripts that have to be sourced during development currently only
support bash. This patch adds zsh support.

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #24 from xhochy/zsh-support and squashes the following commits:

d3590aa [Uwe L. Korn] ARROW-64: Add zsh support to C++ build scripts


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/5881aace
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/5881aace
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/5881aace

Branch: refs/heads/master
Commit: 5881aacefc577ef8a2c39dc40d8f9cd978d50a88
Parents: 883c62b
Author: Uwe L. Korn <uwelk@xhochy.com>
Authored: Wed Mar 16 15:13:55 2016 -0700
Committer: Wes McKinney <wesm@apache.org>
Committed: Wed Mar 16 15:13:55 2016 -0700

----------------------------------------------------------------------
 cpp/setup_build_env.sh                | 2 +-
 cpp/thirdparty/build_thirdparty.sh    | 2 +-
 cpp/thirdparty/download_thirdparty.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/5881aace/cpp/setup_build_env.sh
----------------------------------------------------------------------
diff --git a/cpp/setup_build_env.sh b/cpp/setup_build_env.sh
index e9901bd..26a727c 100755
--- a/cpp/setup_build_env.sh
+++ b/cpp/setup_build_env.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SOURCE_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
+SOURCE_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
 
 ./thirdparty/download_thirdparty.sh
 ./thirdparty/build_thirdparty.sh

http://git-wip-us.apache.org/repos/asf/arrow/blob/5881aace/cpp/thirdparty/build_thirdparty.sh
----------------------------------------------------------------------
diff --git a/cpp/thirdparty/build_thirdparty.sh b/cpp/thirdparty/build_thirdparty.sh
index 46794de..8de56a6 100755
--- a/cpp/thirdparty/build_thirdparty.sh
+++ b/cpp/thirdparty/build_thirdparty.sh
@@ -2,7 +2,7 @@
 
 set -x
 set -e
-TP_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
+TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
 
 source $TP_DIR/versions.sh
 PREFIX=$TP_DIR/installed

http://git-wip-us.apache.org/repos/asf/arrow/blob/5881aace/cpp/thirdparty/download_thirdparty.sh
----------------------------------------------------------------------
diff --git a/cpp/thirdparty/download_thirdparty.sh b/cpp/thirdparty/download_thirdparty.sh
index 8ffb22a..0c80117 100755
--- a/cpp/thirdparty/download_thirdparty.sh
+++ b/cpp/thirdparty/download_thirdparty.sh
@@ -3,7 +3,7 @@
 set -x
 set -e
 
-TP_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
+TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
 
 source $TP_DIR/versions.sh
 


Mime
View raw message