]> git.eshelyaron.com Git - emacs.git/commitdiff
; * admin/notes/tree-sitter/build-module/build.sh: Minor name change.
authorYuan Fu <casouri@gmail.com>
Wed, 14 Dec 2022 00:24:38 +0000 (16:24 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 14 Dec 2022 02:04:32 +0000 (18:04 -0800)
admin/notes/tree-sitter/build-module/build.sh

index d020ee92c39628ec97459d3d3f357749e322b980..4195ea58c3c9097498099bf6260dd79465c1ec4c 100755 (executable)
@@ -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