Parcourir la source

Use ln feature to make links relative

Alois Mahdal il y a 11 ans
Parent
révision
af79545574
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      mklinks

+ 1
- 1
mklinks Voir le fichier

75
             warn "target exists: $target\n";
75
             warn "target exists: $target\n";
76
         } else {
76
         } else {
77
 #           $source = File::Spec->abs2rel($source, $target);
77
 #           $source = File::Spec->abs2rel($source, $target);
78
-            `ln -s $source $target`;
78
+            `ln -sr $source $target`;
79
         }
79
         }
80
     }
80
     }
81
 }
81
 }