Browse Source

Make prompt clearer

bryan 1 year ago
parent
commit
b58093a243
1 changed files with 3 additions and 3 deletions
  1. 3 3
      openwrtbuilder

+ 3 - 3
openwrtbuilder

@@ -571,10 +571,10 @@ fromSource() {
         [0-9][0-9].[0-9][0-9].*)
             local branch="openwrt-${RELEASE%.*}"
             local tag="v$RELEASE"
-            if askOk "Use HEAD of $branch branch (y, recommended) or $tag tag (n)?"; then
-                wt_commit="origin/$branch"
-            else
+            if askOk "Use $tag tag (y) instead of $branch branch HEAD (n, recommended)?"; then
                 wt_commit="$tag"
+            else
+                wt_commit="origin/$branch"
             fi
             ;;
         *)