From 3a4bb9032ebfa9c79bfeaa92a92e7703ee6cba8f Mon Sep 17 00:00:00 2001 From: YannMagnin Date: Sun, 17 Dec 2023 17:14:44 +0100 Subject: [PATCH] sh-elf-vhex - v2.0.0-rc1 : hotfix curl operation + fix typo error *fix* > [project] | [readme] fix curl operation information > [scripts] | [all] fix missing help message | [bootstrap] remove invalid use of `utils_callcmd()` --- README.md | 3 ++- scripts/_install.sh | 2 +- scripts/binutils/build.sh | 2 +- scripts/bootstrap.sh | 3 +-- scripts/gcc/build.sh | 2 +- scripts/gcc/configure.sh | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 77dd3b3..e155356 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,9 @@ and [vxLibc](https://github.com/YannMagnin/vxLibc) The build is relatively simple and can be done in two different ways: +Using `curl` and `jq`: ```bash -curl -s "https://github.com/YannMagnin/sh-elf-vhex/+/HEAD/scripts/bootstrap.sh?format=TEXT" | base64 --decode | bash +curl 'https://api.github.com/repos/YannMagnin/sh-elf-vhex/contents/scripts/bootstrap.sh' | jq -r '.content' | base64 --decode | bash ``` Or by cloning the project and using the `bootstrap.sh` script, see diff --git a/scripts/_install.sh b/scripts/_install.sh index 9a994e5..bfd8fa7 100755 --- a/scripts/_install.sh +++ b/scripts/_install.sh @@ -6,7 +6,7 @@ function help() { cat << EOF -Script for the installation step of binutils/GCC tools for the Vhex kernel. +Script for the installation step of binutils/GCC tools for the Vhex project. Usage $0 [options...] diff --git a/scripts/binutils/build.sh b/scripts/binutils/build.sh index ee40e11..b3d6f2e 100755 --- a/scripts/binutils/build.sh +++ b/scripts/binutils/build.sh @@ -6,7 +6,7 @@ function help() { cat << EOF -Script for the building step of binutils for the Vhex kernel. +Script for the building step of binutils for the Vhex project. Usage $0 [options...] diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 55c4eb5..345d05f 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -75,8 +75,7 @@ then fi [[ -d "$prefix_clone" ]] && rm -rf "$prefix_clone" echo ' self-clone repository...' - utils_callcmd \ - git \ + git \ clone \ --depth=1 \ https://github.com/YannMagnin/sh-elf-vhex.git \ diff --git a/scripts/gcc/build.sh b/scripts/gcc/build.sh index 4363a7a..e2a4436 100755 --- a/scripts/gcc/build.sh +++ b/scripts/gcc/build.sh @@ -6,7 +6,7 @@ function help() { cat << EOF -Script for the building step of GCC for the Vhex kernel. +Script for the building step of GCC for the Vhex project Usage $0 [options...] diff --git a/scripts/gcc/configure.sh b/scripts/gcc/configure.sh index fac5550..c71b8f5 100755 --- a/scripts/gcc/configure.sh +++ b/scripts/gcc/configure.sh @@ -6,7 +6,7 @@ function help() { cat << EOF -Script for the configuration step of Vhex kernel's binutils. +Script for the configuration step of Vhex's binutils. Usage $0 [options...]