Skip to content

Commit 9bc49fb

Browse files
committed
Allow make clean removing files to fail
These files might not exist for various reasons, such as a partial install or previous inplace install. They might also have wrong permissions, for example, when they were installed as root.
1 parent 6a70aa0 commit 9bc49fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ inplace-postinstall-nginx: inplace-postinstall-permissions
292292

293293
# Removes created symlinks; generated logs, submissions, etc. remain in output subdir.
294294
inplace-uninstall-l:
295-
rm -rf $(judgehost_libjudgedir)
296-
rm -rf $(judgehost_bindir)
295+
-rm -rf $(judgehost_libjudgedir)
296+
-rm -rf $(judgehost_bindir)
297297

298298
# Rules to configure and build for a Coverity scan.
299299
coverity-conf:

misc-tools/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ inplace-install-l:
4343

4444
inplace-uninstall-l:
4545
# bindir gets removed from the main Makefile
46-
rm -f $(domserver_libdir)/dj_utils.py
46+
-rm -f $(domserver_libdir)/dj_utils.py
4747

4848
clean-l:
4949
-rm -f $(TARGETS) $(OBJECTS)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy