Skip to contentSkip to conversation

Match $branch against xen-* instead of xen*

PATCH In review Ian Campbell 2 participants 2 messages Jul 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Match $branch against xen-* instead of xen*

In case someone invents a tree `xenblargle'.

---
 ap-print-url | 2 +-
 cri-common   | 2 +-
 mfi-common   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
ap-print-url +1 -1
index 3db2375..c161169 100755
@@ -31,7 +31,7 @@ if info_linux_tree "$branch"; then
 fi
 
 case "$branch" in
-xen*)
+xen-*)
         echo $TREE_XEN
 	;;
 qemu-mainline)
cri-common +1 -1
index ad44546..32d13fd 100644
@@ -62,7 +62,7 @@ repo_tree_rev_fetch_git () {
 
 select_xenbranch () {
 	case "$branch" in
-	xen*)			tree=xen;	xenbranch=$branch ;;
+	xen-*)			tree=xen;	xenbranch=$branch ;;
 	qemu-mainline)		tree=qemuu;	xenbranch=xen-unstable	qemuubranch=qemu-mainline;;
         qemu-upstream-*)    tree=qemuu; xenbranch=xen-${branch#qemu-upstream-};;
 	linux)			tree=linux;	xenbranch=xen-unstable ;;
mfi-common +1 -1
index a9e966f..564c3de 100644
@@ -35,7 +35,7 @@ branch_wants_rumpkernel_tests () {
   case "$branch" in
   osstest*) return 0;;
   rump*)    return 0;;
-  xen*)     return 0;;
+  xen-*)    return 0;;
   linux*)   return 0;;
   *)        return 1;;
   esac
Signature · 1 line
2.1.4