From 19bebe3bb884ece7bf88f7b5c47d4f202eed421e Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 28 Feb 2018 17:41:32 +0100
Subject: [PATCH] Get version.txt from current dir

---
 conda/conda-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conda/conda-build.sh b/conda/conda-build.sh
index d08420d..9dcc133 100755
--- a/conda/conda-build.sh
+++ b/conda/conda-build.sh
@@ -82,8 +82,8 @@ log_info "Using CONDARC from \`${CONDARC}'..."
 BUILD_OPTIONS="--no-anaconda-upload --skip-existing --variant-config-files ${DIR}/../gitlab/conda_build_config.yaml"
 
 # Exclusively for Bob packages, we also set the package version
-if [ -e ${1}/../version.txt ]; then
-  export BOB_PACKAGE_VERSION=$(cat ${1}/../version.txt)
+if [ -e version.txt ]; then
+  export BOB_PACKAGE_VERSION=$(cat version.txt)
   echo "Setting package version to \`${BOB_PACKAGE_VERSION}'..."
 fi
 
-- 
GitLab