Marcel Telka
2023-08-21 769e7efe642c0c67d2247d9c9cbe9bd04b2d7d13
tools/python-integrate-project: always start with empty directory

1 files modified
1 ■■■■ changed files
tools/python-integrate-project 1 ●●●● patch | view | raw | blame | history
tools/python-integrate-project
@@ -96,6 +96,7 @@
# Prepare the directory
[[ -z "$DIRECTORY" ]] && DIRECTORY="python/$DISTRIBUTION"
DIR="$BASE_DIR/$DIRECTORY"
rm -rf "$DIR"
mkdir -p "$DIR"
cd "$DIR"
git restore --staged . > /dev/null 2>&1