ifc-commit/scripts/clone_demo_repo.sh
2026-03-25 10:36:30 +01:00

13 lines
292 B
Bash

#!/bin/bash
if [[ ! -d demo ]]; then
mkdir -p demo
fi
if [[ ! -d demo/ifc-commit-demo ]]; then
cd demo && git clone https://gitaec.org/rvba/ifc-commit-demo
else
echo "removing ifc-commit-demo"
rm -fr demo/ifc-commit-demo
cd demo && git clone https://gitaec.org/rvba/ifc-commit-demo
fi