Skip to content

Commit

Permalink
Minor var changes
Browse files Browse the repository at this point in the history
  • Loading branch information
casouri committed Apr 8, 2024
1 parent 2d142d1 commit b6dad86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ fi

### Copy out
if [[ -n "$INSTALL_DIR" ]]; then
_install_dir="$INSTALL_DIR"
echo "Copying libtree-sitter-${lang}.${soext} to $_install_dir"
dist_dir="$INSTALL_DIR"
echo "Copying libtree-sitter-${lang}.${soext} to ${dist_dir}"
else
_install_dir="${topdir}/dist"
dist_dir="${topdir}/dist"
fi

mkdir -p "$_install_dir"
cp "libtree-sitter-${lang}.${soext}" "$_install_dir"
mkdir -p "${dist_dir}"
cp "libtree-sitter-${lang}.${soext}" "${dist_dir}"
cd "${topdir}"
rm -rf "${lang}"

0 comments on commit b6dad86

Please sign in to comment.