The wiki source of YSLib documentation.
Revisión | 0da3e3b4de889a24060a3fdabd7e4e685a22e604 (tree) |
---|---|
Tiempo | 2021-02-24 17:54:32 |
Autor | FrankHB <frankhb1989@gmai...> |
Commiter | FrankHB |
GettingSources.zh-CN.md: 更新修复可执行位命令:修改适用目录;避免 shell 通配符替换。
@@ -60,10 +60,10 @@ | ||
60 | 60 | |
61 | 61 | **已知缺陷** Windows 上的 Mercurial 不跟踪可执行位。 |
62 | 62 | |
63 | - 若在其它环境中因此无法执行脚本,在 `Tools` 目录下执行以下命令变通: | |
63 | + 若在其它环境中因此无法执行脚本,在版本库根目录下执行以下 shell 命令变通: | |
64 | 64 | |
65 | 65 | ``` |
66 | -find -type f -name *.sh -exec chmod +x {} \; | |
66 | +find . -type f -name "*.sh" -exec chmod +x {} \; | |
67 | 67 | ``` |
68 | 68 | |
69 | 69 | 因为约定[总是使用 `*.sh` 作为可执行的脚本的扩展名](Tools/Scripts.zh-CN.md),不需要考虑其它文件。 |