[tracker/wip/carlosg/parallel-installable] build: Fix issue when switching between tracker and tracker3 branches



commit 73b534d12a999b56b35394e064f0cfe625eee825
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Apr 8 00:39:45 2020 +0200

    build: Fix issue when switching between tracker and tracker3 branches
    
    Fixes this kind of error at configure time:
    
        ln: failed to create symbolic link 
'/home/sam/src/tracker-miners/build/subprojects/tracker/src/tracker/subcommands/endpoint': File exists

 src/tracker/make-uninstalled-subcommand-links.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker/make-uninstalled-subcommand-links.sh 
b/src/tracker/make-uninstalled-subcommand-links.sh
index dc0ea275a..695b932eb 100644
--- a/src/tracker/make-uninstalled-subcommand-links.sh
+++ b/src/tracker/make-uninstalled-subcommand-links.sh
@@ -10,7 +10,7 @@ mkdir -p $subcommands_dir
 for l in `find $subcommands_dir -type l`
 do
 # Delete all previous links to our own binary
-if [ `readlink $l` = "$cli_dir/tracker3" ]
+if [ `readlink $l` = "$cli_dir/tracker3" ] || [ `readlink $l` = "$cli_dir/tracker" ];
 then
     rm $l
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]