mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
builme: ask for confirmation before reset repository or clean BaseTools
Also the reset changes has a new position.
This commit is contained in:
parent
5eadae5eb8
commit
fd2433e9e2
14
buildme
14
buildme
@ -275,9 +275,9 @@ options=( 'build Clover'
|
||||
'test build (no autogen, no boot files)'
|
||||
'status'
|
||||
'update Clover'
|
||||
'update Clover (reset changes)'
|
||||
'show diff'
|
||||
'open drivers directory'
|
||||
'update Clover (reset changes)'
|
||||
'clean BaseTools'
|
||||
'quit')
|
||||
|
||||
@ -324,7 +324,11 @@ do
|
||||
break
|
||||
;;
|
||||
"update Clover (reset changes)")
|
||||
updateResetClover
|
||||
read -p "Are you sure? (y = true)" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
updateResetClover
|
||||
fi
|
||||
break
|
||||
;;
|
||||
"status")
|
||||
@ -345,7 +349,11 @@ do
|
||||
break
|
||||
;;
|
||||
"clean BaseTools")
|
||||
cleanBaseTools
|
||||
read -p "Are you sure? (y = true)" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
cleanBaseTools
|
||||
fi
|
||||
break
|
||||
;;
|
||||
"quit")
|
||||
|
Loading…
Reference in New Issue
Block a user