Commit b8841de
committed
builder-main: Prevent deleting cwd or its parents with force-clean
Building in the current directory does not make sense and cwd
usually contains the manifest, files referenced in the manifest and
other files. Deleting all of them is destructive.
Also since state dir defaults to cwd/.flatpak-builder by default,
a deletion leads to the hung state described in the previous commit.
Fixes #4751 parent 4054e73 commit b8841de
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| 868 | + | |
| 869 | + | |
868 | 870 | | |
869 | 871 | | |
870 | | - | |
871 | | - | |
| 872 | + | |
| 873 | + | |
872 | 874 | | |
873 | 875 | | |
874 | 876 | | |
| |||
0 commit comments