Skip to content

Commit

Permalink
Allow make clean removing files to fail
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eldering committed Sep 16, 2024
1 parent 6a70aa0 commit 9bc49fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ inplace-postinstall-nginx: inplace-postinstall-permissions

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

# Rules to configure and build for a Coverity scan.
coverity-conf:
Expand Down
2 changes: 1 addition & 1 deletion misc-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ inplace-install-l:

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

clean-l:
-rm -f $(TARGETS) $(OBJECTS)
Expand Down

0 comments on commit 9bc49fb

Please sign in to comment.