Browse Source

Use ln feature to make links relative

Alois Mahdal 10 years ago
parent
commit
af79545574
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      mklinks

+ 1
- 1
mklinks View File

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
 }