configure: Force-remove temp dir
PATCH 1/1 configure: Force-remove temp dir
Sometimes the compiler will leave a write-protected .o file in the temp directory, and GNU rm will ask before deleting it unless -f is specified.
Signed-off-by Dan Church <[email protected]>
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -7080,4 +7080,4 @@ done echo ' "$@"' >>config.status chmod +x config.status -rm -r "$TMPDIR1" +rm -rf "$TMPDIR1"
Signature · 1 line
2.29.2
Quoted 15 lines · Dan Church
Sometimes the compiler will leave a write-protected .o file in the temp directory, and GNU rm will ask before deleting it unless -f is specified.
Signed-off-by Dan Church <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
configure done · line 7083
Quoted 5 lines
configure +1
-1@@ -7080,4 +7080,4 @@ done echo ' "$@"' >>config.status chmod +x config.status -rm -r "$TMPDIR1" +rm -rf "$TMPDIR1"
We rm -rf this directory at the top of configure, so it seems like an oversight that we don't use '-f' here at the bottom too.
Reviewed-by Peter Maydell <[email protected]>
You should probably look into why your compiler is generating write-protected .o files, though -- that doesn't sound normal.
thanks
-- PMM