From 83926c91e1176b294b52f73b3b04de2fcda60c60 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 12 Mar 2025 13:28:52 +0100 Subject: [PATCH] Patch the install script to desactivate the CSV check --- install_obitools.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install_obitools.sh b/install_obitools.sh index ad54088..f96705e 100755 --- a/install_obitools.sh +++ b/install_obitools.sh @@ -105,6 +105,10 @@ curl "$GOURL" \ PATH="$(pwd)/go/bin:$PATH" export PATH +GOPATH="$(pwd)/go" +export GOPATH + + curl -L "$OBIURL4" > master.zip unzip master.zip @@ -112,11 +116,12 @@ unzip master.zip echo "Install OBITOOLS from : $OBIURL4" cd obitools4-master || exit +mkdir vendor if [[ -z "$OBITOOLS_PREFIX" ]] ; then - make + make GOFLAGS="-buildvcs=false" else - make OBITOOLS_PREFIX="${OBITOOLS_PREFIX}" + make GOFLAGS="-buildvcs=false" OBITOOLS_PREFIX="${OBITOOLS_PREFIX}" fi (cp build/* "${INSTALL_DIR}/bin" 2> /dev/null) \ @@ -125,5 +130,6 @@ fi popd || exit +chmod -R +w "$WORK_DIR" rm -rf "$WORK_DIR"