Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for branch in 'lp:~somebody/project/branch' 'lp:~somebody-else/project/other-branch' 'lp:~third-party/other-project/branch'; do
- rm -rf current_branch
- bzr export current_branch "$branch"
- stock_report=$(grep -ir stock current_branch)
- if [ -n "$stock_report" ]; then
- echo "$stock_report" > "$(echo $branch | tr '/' '|')"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement