diff options
Diffstat (limited to 'rb-branch')
-rwxr-xr-x | rb-branch | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,7 +18,8 @@ if [ ! -x "$rb_patch" ]; then fi $rb_patch "$@" >"$tmp_patch_file" -branch=`grep '^Svn-Branch:' $tmp_patch_file | sed -e 's|.*/||'` +# For the branch name: leave only the final path component +branch=`awk '/^Svn-Branch:/ {print $2}' $tmp_patch_file | sed -e 's|.*/||'` svn_branch="${svn_branch_prefix}svn_$branch" review_num=`awk '/^Review:/ {print $2}' $tmp_patch_file` diff_num=`awk '/^Diff:/ {print $2}' $tmp_patch_file` |