[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Make sure to overwrite binary if it already exists

noreply at xfce.org noreply at xfce.org
Sat Mar 25 00:25:21 CET 2017


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.

commit bbd160f9648bad0b61d0301851eb2bdc76052021
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sat Mar 25 00:23:35 2017 +0100

    Make sure to overwrite binary if it already exists
    
    If you locally compile and install multiple times, before this commit
    you would have to delete the symbolic link manually because ln -s
    would not overwrite it, hence resulting in make install failing.
    The -f option fixes this and should also work on systems without ln,
    as it falls back to cp.
---
 panel-plugin/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 8607dea..0b291ed 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -222,5 +222,5 @@ DISTCLEANFILES =							\
 
 install-exec-hook:
 	cd $(DESTDIR)$(exec_prefix)/bin && \
-	$(LN_S) xfce4-popup-clipman xfce4-popup-clipman-actions
+	$(LN_S) -f xfce4-popup-clipman xfce4-popup-clipman-actions
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list