From 5e0f6644738706c45493b174ec309dee84968fdf Mon Sep 17 00:00:00 2001 From: Gary Verhaegen Date: Thu, 3 Oct 2019 08:36:14 +0200 Subject: [PATCH] fix haskell export script (#3076) --- language-support/hs/bindings/export-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language-support/hs/bindings/export-package.sh b/language-support/hs/bindings/export-package.sh index b1787c6a11d..a324b9fa8e2 100755 --- a/language-support/hs/bindings/export-package.sh +++ b/language-support/hs/bindings/export-package.sh @@ -10,9 +10,9 @@ if [ "$#" -ne 1 ]; then exit 1 fi -cd "$(dirname ${BASH_SOURCE[0]})" +TARGET_DIR=$(realpath $1) -TARGET_DIR=$1 +cd "$(dirname ${BASH_SOURCE[0]})" bazel build //ledger-api/grpc-definitions:all-ledger-api-haskellpb-sources