Skip to content

Commit

Permalink
chore: more robust to run location
Browse files Browse the repository at this point in the history
Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>
  • Loading branch information
gforsyth and mbrobbel authored Sep 28, 2023
1 parent bb39632 commit 7c2a5a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ fi

VERSION=$1

pushd third_party/substrait/
DIR=$(cd $(dirname $0) && pwd)
pushd "${DIR}"/third_party/substrait/
git checkout $VERSION
SUBSTRAIT_HASH=$(git rev-parse --short HEAD)
popd
Expand Down

0 comments on commit 7c2a5a4

Please sign in to comment.