Parcourir la source

Switch from tags to branch

bryan il y a 2 ans
Parent
commit
03db94e20d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -635,7 +635,7 @@ fromSource() {
         git -C "$GITSRCDIR" worktree add -fd "$gitworktreedir" master
     else
         gitworktreedir="$SRCDIR/$profile/$RELEASE"
-        git -C "$GITSRCDIR" worktree add -fd "$gitworktreedir" "v$RELEASE"
+        git -C "$GITSRCDIR" worktree add -fd "$gitworktreedir" "openwrt-${RELEASE%.*}"
     fi
 
     seed_file="$gitworktreedir/.config"