ncdns-repro/tools/cirrus_unpack_git.sh

11 lines
192 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euxo pipefail
shopt -s failglob
for PROJECT in ./git_index/*
do
PROJECT_BASE=$(basename $PROJECT)
mv ${PROJECT} ./git_clones/${PROJECT_BASE}/.git/index
done