mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-26 07:31:29 +00:00
Merged in new --help option and manpage for grab-merge (LP: #349109).
This commit is contained in:
commit
ca10641308
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
|||||||
ubuntu-dev-tools (0.72) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.72) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* README.updates: Added - lists steps to take when updating this package.
|
* README.updates: Added - lists steps to take when updating this package.
|
||||||
|
* grab-merge: Added --help option and manpage (LP: #349109).
|
||||||
|
|
||||||
-- Jonathan Davies <jpds@ubuntu.com> Thu, 26 Mar 2009 00:22:01 +0000
|
-- Jonathan Davies <jpds@ubuntu.com> Thu, 26 Mar 2009 00:22:01 +0000
|
||||||
|
|
||||||
|
18
doc/grab-merge.1
Normal file
18
doc/grab-merge.1
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.TH grab\-merge 1 "Marh 26, 2009" "ubuntu-dev-tools"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
grab\-merge \- grab's a merge's files from merges.ubuntu.com.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
\fBgrab\-merge\fP <\fIpackage name\fP>
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fB404main\fP is a script that downloads a merge's packaging files and report
|
||||||
|
from merges.ubuntu.com. Placing them in a new directory for working from.
|
||||||
|
|
||||||
|
.SH AUTHORS
|
||||||
|
\fBgrab\-merge\fP was written by Scott James Remnant <scott@ubuntu.com> and
|
||||||
|
this manpage by Jonathan Davies <jpds@ubuntu.com>.
|
||||||
|
.PP
|
||||||
|
Both are released under the GNU General Public License, version 2 or
|
||||||
|
later.
|
10
grab-merge
10
grab-merge
@ -29,6 +29,16 @@ set -e
|
|||||||
|
|
||||||
MERGE=$1
|
MERGE=$1
|
||||||
|
|
||||||
|
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||||
|
echo "Usage: $0 <package name>"
|
||||||
|
echo ""
|
||||||
|
echo "grab-merge downloads a merge's packaging files and report from"
|
||||||
|
echo "merges.ubuntu.com, placing them into a new subdirectory for working"
|
||||||
|
echo "from."
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$SUBDIR" = "y" ]; then
|
if [ "$SUBDIR" = "y" ]; then
|
||||||
[ -d "$MERGE" ] || mkdir $MERGE
|
[ -d "$MERGE" ] || mkdir $MERGE
|
||||||
cd $MERGE
|
cd $MERGE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user