Przeglądaj źródła

Use ln feature to make links relative

Alois Mahdal 12 lat temu
rodzic
commit
af79545574
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      mklinks

+ 1
- 1
mklinks Wyświetl plik

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
 }