Update for 23.05.0-rc2
This commit is contained in:
@@ -565,7 +565,7 @@ fromSource() {
|
|||||||
local branch="openwrt-${RELEASE%.*}"
|
local branch="openwrt-${RELEASE%.*}"
|
||||||
local tag="v$RELEASE"
|
local tag="v$RELEASE"
|
||||||
local r
|
local r
|
||||||
read -r -p "Use HEAD of $branch branch (y, recommended) or $tag tag (n)? (Y/n)" r
|
read -r -p "Use HEAD of $branch branch (y, recommended) or $tag tag (n)? (Y/n): " r
|
||||||
r=${r,,}
|
r=${r,,}
|
||||||
if [[ "$r" =~ ^(no|n)$ ]]; then
|
if [[ "$r" =~ ^(no|n)$ ]]; then
|
||||||
execute "${wt_cmd[@]}" "$tag"
|
execute "${wt_cmd[@]}" "$tag"
|
||||||
@@ -674,7 +674,7 @@ fromSource() {
|
|||||||
debug() { (( DEBUG )) && echo "Debug: $*"; }
|
debug() { (( DEBUG )) && echo "Debug: $*"; }
|
||||||
askOk() {
|
askOk() {
|
||||||
local r
|
local r
|
||||||
read -r -p "$* [y/N]" r
|
read -r -p "$* [y/N]: " r
|
||||||
r=${r,,}
|
r=${r,,}
|
||||||
[[ "$r" =~ ^(yes|y)$ ]]
|
[[ "$r" =~ ^(yes|y)$ ]]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user