From eccf673a92ef56ba57f3dfab89c48c3fdc506306 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 10 Jun 2009 22:41:23 +1000 Subject: [PATCH] cope with branches with / intheir name when making next branches --- make_next_branches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_next_branches b/make_next_branches index 73fc3ae..7409713 100755 --- a/make_next_branches +++ b/make_next_branches @@ -7,7 +7,7 @@ dir=$1 heads=$(grep -v '^#' ../real_control | awk -F ' ' '$2=="quilt" { printf("quilt/%s ", $3); } $2=="git" { printf("%s/%s ", $3, $5); }') for h in $heads; do - tree=${h%/*} + tree=${h%%/*} rem_ref=refs/remotes [ "$tree" == "quilt" ] && { tree=${h#quilt/} -- 2.39.5