Skip to content

Commit

Permalink
ARROW-64: Add zsh support to C++ build scripts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xhochy authored and wesm committed Mar 16, 2016
1 parent 883c62b commit 5881aac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/setup_build_env.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cpp/thirdparty/build_thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cpp/thirdparty/download_thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5881aac

Please sign in to comment.