[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 91b8d9b7db 2/3: ; * admin/notes/tree-sitter/build-module/build.
From: |
Yuan Fu |
Subject: |
emacs-29 91b8d9b7db 2/3: ; * admin/notes/tree-sitter/build-module/build.sh: Minor name change. |
Date: |
Tue, 13 Dec 2022 21:06:49 -0500 (EST) |
branch: emacs-29
commit 91b8d9b7db47f242cf33f0e99d787c235d761d4b
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * admin/notes/tree-sitter/build-module/build.sh: Minor name change.
---
admin/notes/tree-sitter/build-module/build.sh | 8 ++++----
1 file 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 d020ee92c3..4195ea58c3 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