浏览代码

Use ln feature to make links relative

Alois Mahdal 11 年前
父节点
当前提交
af79545574
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      mklinks

+ 1
- 1
mklinks 查看文件

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
 }