Compare commits

...

2 Commits

Author SHA1 Message Date
Sertonix
bce01ca0cb
Merge b19cd39e2d into dc4e8d3427 2025-05-14 23:56:20 +02:00
Sertonix
b19cd39e2d
Fix race condition in make install on linux
Since INSTALL_CFG_DEST is a symlink we also need to make sure that the target always exists before installing anything to it.

Fixes f860ea9e54 Install chrooted configuration with make install on linux
2025-04-03 22:39:40 +00:00

View File

@ -103,7 +103,7 @@ install-chroot-dir:
$(INSTALL_BIN) -d $(CHROOTDIR)/libexec
chmod -R o-rwx $(CHROOTDIR)
install-etc-default-config:
install-etc-default-config: install-chroot-dir
if [ ! -d $(INSTALL_CFG_DEST) ]; then \
ln -s $(CHROOTREL)/conf $(INSTALL_CFG_DEST); \
$(INSTALL_BIN) $(INSTALL_CFG) $(ETCDIR)/3proxy.cfg; \