Selaa lähdekoodia

Use ln feature to make links relative

Alois Mahdal 11 vuotta sitten
vanhempi
commit
af79545574
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      mklinks

+ 1
- 1
mklinks Näytä tiedosto

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
 }