Skip to content

Commit ae8c300

Browse files
committed
cp -rL
1 parent 55770b6 commit ae8c300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func addtool(bin, toolpath, description string) {
200200
os.RemoveAll(fmt.Sprintf("%s/module/%s", bin, toolname))
201201
}
202202

203-
cp_cmd := fmt.Sprintf("cp -r %s %s/module/%s", toolpath, bin, toolname)
203+
cp_cmd := fmt.Sprintf("cp -rL %s %s/module/%s", toolpath, bin, toolname)
204204
run_cmd(cp_cmd)
205205

206206
// 给 tool 文件增加可执行权限

0 commit comments

Comments
 (0)