Skip to content

Commit 2226a51

Browse files
committed
Simplify (re)creating webapp/public/doc symlink
1 parent 1810f18 commit 2226a51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webapp/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ install-domserver:
6262
$(call install_tree,$(DESTDIR)$(domserver_webappdir),$$d) ; \
6363
done
6464
# Change webapp/public/doc symlink
65-
rm $(DESTDIR)$(domserver_webappdir)/public/doc
66-
ln -s $(domjudge_docdir) $(DESTDIR)$(domserver_webappdir)/public/doc
65+
ln -sf $(domjudge_docdir) $(DESTDIR)$(domserver_webappdir)/public/doc
6766
$(INSTALL_DATA) -t $(DESTDIR)$(domserver_webappdir) phpunit.xml.dist .env
6867

6968
maintainer-conf: .env.local

0 commit comments

Comments
 (0)