sh-elf-vhex - v2.0.0-rc12 : check install prefix instead of sysroot for rerun

*fix*
> [scripts]
  | [install] prefer check install prefix instead of sysroot prefix for rerun
This commit is contained in:
YannMagnin 2023-12-20 18:31:51 +01:00
parent 170bd7514a
commit 1d58f26fb1
No known key found for this signature in database
GPG Key ID: D82629D933EADC59
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ cd "$_src" || exit 1
has_been_cloned='false'
if [[ "$prefix_clone/scripts" != "$_src" ]]
then
if [ -x "$prefix_sysroot/bin/sh-elf-vhex-gcc" ]
if [ -x "$prefix_install/sh-elf-vhex-gcc" ]
then
echo -e \
'It seems that the project is already installed :pouce:\n' \