summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-12-13 16:24:38 -0800
committerYuan Fu <casouri@gmail.com>2022-12-13 18:04:32 -0800
commit91b8d9b7db47f242cf33f0e99d787c235d761d4b (patch)
tree7e7c8c05ffdf0584d89608393135b16e23917d8c /admin
parent1b0e282a7f82d3110bec32aff6d6363910491b69 (diff)
downloademacs-91b8d9b7db47f242cf33f0e99d787c235d761d4b.tar.gz
; * admin/notes/tree-sitter/build-module/build.sh: Minor name change.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/notes/tree-sitter/build-module/build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh
index d020ee92c39..4195ea58c3c 100755
--- a/admin/notes/tree-sitter/build-module/build.sh
+++ b/admin/notes/tree-sitter/build-module/build.sh
@@ -14,17 +14,17 @@ echo "Building ${lang}"
### Retrieve sources
-namespace="tree-sitter"
+org="tree-sitter"
repo="tree-sitter-${lang}"
sourcedir="tree-sitter-${lang}/src"
grammardir="tree-sitter-${lang}"
case "${lang}" in
"dockerfile")
- namespace="camdencheek"
+ org="camdencheek"
;;
"cmake")
- namespace="uyha"
+ org="uyha"
;;
"typescript")
sourcedir="tree-sitter-typescript/typescript/src"
@@ -37,7 +37,7 @@ case "${lang}" in
;;
esac
-git clone "https://github.com/${namespace}/${repo}.git" \
+git clone "https://github.com/${org}/${repo}.git" \
--depth 1 --quiet
cp "${grammardir}"/grammar.js "${sourcedir}"
# We have to go into the source directory to compile, because some