From a68fcb2235e74411a58f123d8d2fafa892d4411a Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Sun, 5 Sep 2021 02:17:09 +0800 Subject: [PATCH] git-for-windows-msys2: add script for tunasync --- git-for-windows-msys2.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 git-for-windows-msys2.sh diff --git a/git-for-windows-msys2.sh b/git-for-windows-msys2.sh new file mode 100755 index 0000000..bb84e49 --- /dev/null +++ b/git-for-windows-msys2.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# Run in Docker image: tunathu/git-for-windows-msys2 +set -e +set -o pipefail + +_here=`dirname $(realpath $0)` + +BASE_PATH="${TUNASYNC_WORKING_DIR}" + +mkdir -p $BASE_PATH/x86-64/ +mkdir -p $BASE_PATH/i686/ +azcopy sync --recursive https://wingit.blob.core.windows.net/x86-64/ $BASE_PATH/x86-64/ +azcopy sync --recursive https://wingit.blob.core.windows.net/i686/ $BASE_PATH/i686/ +echo "finished"