sh-elf-vhex - v2.0.0-rc9 : hotfix missing uninstall validation step

*fix*
> [scripts]
  | [uninstall] hotfix missing uninstall validation step
This commit is contained in:
YannMagnin 2023-12-19 19:36:56 +01:00
parent b40c63c221
commit b6ce41b6b9
No known key found for this signature in database
GPG Key ID: D82629D933EADC59
1 changed files with 11 additions and 1 deletions

View File

@ -13,7 +13,6 @@ Usage $0 [options...]
Configurations:
-h, --help Display this help
-v, --verbose Display extra information during operation
--prefix-install Installation (bin) prefix
--prefix-sysroot Sysroot (lib, header, ...) prefix
--prefix-clone Clone prefix
@ -79,6 +78,17 @@ then
exit 1
fi
echo 'The script will uninstall the sh-elf-vhex compiler with:'
echo " - Clone directory: $prefix_clone"
echo " - Install directory: $prefix_install"
echo " - Sysroot directory: $prefix_sysroot"
read -p 'Process ? [yN]: ' -r valid < /dev/tty
if [[ "$valid" != 'y' ]]
then
echo 'Operation aborted o(x_x)o'
exit 1
fi
#---
# Unistall step
#---