MIL-007: fix the new tests and document starting from any folder

- README: start from the folder where the project is created, make the script a global command, where config.env and .env are read from and the confirmation
- Tests: qc tests set up the temp directory and force a real failure; the default-files test runs from a folder without files of its own; the link test allows for path aliases; the work directory cleanup deletes links

Task: MIL-007#3
Task: MIL-007#4
Refs #49
Refs #51
This commit is contained in:
2026-10-07 14:09:27 +08:00
parent 1a283430b3
commit 3204e20cac
4 changed files with 90 additions and 22 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ setup_local_remotes() {
# first, then the now empty directories from the bottom up.
remove_workdir() {
if [[ -n $WORK && -d $WORK ]]; then
find "$WORK" \( -type f -o -type p \) -delete
find "$WORK" \( -type f -o -type p -o -type l \) -delete
find "$WORK" -depth -type d -exec rmdir {} +
fi
WORK=""