Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #After typing in the same commands 25+ times, I decided to make a simple bash script to do it for me. I just started fixing bugs (yesterday, 09/02/12). This script downloads the branch, edits the control file ($package/debian/control), and runs the necessary commands to propose to merge. If you are editing something repetitively, this might be of some use to you. Make sure to edit where your ID (such as "cc11rocks") and release (such as "quantal"). Also, change the directories to suit your setup. Enjoy!
- #!/bin/bash
- echo "What package?"
- read package
- cd ~/Ubu_Dev_bzr #edit this to your setup
- bzr branch lp:ubuntu/$package
- if [ -d $package ]; then
- cd $package/debian
- gedit control
- read pause
- dch -i
- debcommit
- bzr push lp:~cc11rocks/ubuntu/quantal/$package/type-fix #edit "cc11rocks" and "quantal" to suit your needs
- bzr lp-propose
- else
- echo "Branch not found"
- ls
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement