Skip to content

Commit

Permalink
Do not overwrite existing scripts on make install
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jan 14, 2024
1 parent 0a22d0d commit ecd5e7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mod/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ install-scripts:
if test ! "x`echo $(srcdir)/$$i/scripts/*`" = "x$(srcdir)/$$i/scripts/*"; then \
echo "Installing example $$i scripts"; \
for s in $(srcdir)/$$i/scripts/*; do \
$(INSTALL_DATA) $$s $(DEST)/scripts/; \
if test ! -f "$(DEST)/scripts/`basename "$$s"`"; then \
$(INSTALL_DATA) $$s $(DEST)/scripts/; \
fi; \
done; \
fi; \
done;
Expand Down

0 comments on commit ecd5e7e

Please sign in to comment.