Marcel Telka
2023-08-21 73940d3a30868260846220868f156b543649d704
tools/python-integrate-project: do not remove the project directory itself

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