#!/bin/bash source scripts/utils.sh echo -n # Saner programming env: these switches turn some bugs into errors set -o errexit -o pipefail # this script is meant to be used with 'datalad run' # Download git-lfs _VERSION=v2.13.3 mkdir -p bin/git-lfs-linux-amd64-${_VERSION} rm -f bin/sha256sums echo "03197488f7be54cfc7b693f0ed6c75ac155f5aaa835508c64d68ec8f308b04c1 git-lfs-linux-amd64-${_VERSION}.tar.gz" > bin/sha256sums files_url=( "https://github.com/git-lfs/git-lfs/releases/download/${_VERSION}/git-lfs-linux-amd64-${_VERSION}.tar.gz bin/git-lfs-linux-amd64-${_VERSION}.tar.gz") git-annex addurl --fast -c annex.largefiles=anything --raw --batch --with-files </dev/null ln -sf git-lfs-linux-amd64-${_VERSION}/git-lfs . popd >/dev/null