From 91b8d9b7db47f242cf33f0e99d787c235d761d4b Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Tue, 13 Dec 2022 16:24:38 -0800 Subject: [PATCH] ; * 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 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 -- 2.39.2