Hi, On Mon, Jan 10, 2011 at 11:16:13PM +0100, Christoph Anton Mitterer wrote: > Package: maint-guide > Version: 1.2.25 > Severity: wishlist > Tags: patch > > Hi. > > I've attached two patches which do hopefully the following: > > 1) 01_better_wording > - Adapt the order of the commands to the order of VCS tools named before.
I agree. > 2) 02_quiltrc > - Replace the IMO unnecessary [ ... ] && [ ... ] with a (faster?) [ ... -a > ... ] . Do you have proof being faster ? I like [ ... ] && [ ... ] better since it is more legible. I will keep the original. > - At several places, qoute the "d" var, and the output of command > substitution, > just in case someone uses weird directories with spaces or so. Very unlikely and whoever uses such directory needs to be shot :-) But, yes, you are right. I will change. > btw: Are there other places/packages where the .quiltrc example is used > and where we should update it? There are some notes on debian wiki and possibly ubuntu wiki. Google is your friend. Since these are minor ones and we are deep freeze, I will wait for squeeze release. > HTH, > Chris. > --- a/maint-guide.en.sgml > +++ b/maint-guide.en.sgml > @@ -515,7 +515,7 @@ > > <p>If the latest version of such sources are available through VCS such as > Git, Subversion, or CVS repository, you need to get it with "<tt>git > - clone</tt>", "<tt>cvs co</tt>", or "<tt>svn co</tt>" and repack it into > + clone</tt>", "<tt>svn co</tt>", or "<tt>cvs co</tt>" and repack it into > <prgn>tar</prgn>+<prgn>gzip</prgn> format by yourself using the > "<tt>--exclude-vcs</tt>" option. > > --- a/maint-guide.en.sgml > +++ b/maint-guide.en.sgml > @@ -780,15 +780,15 @@ > </footnote> > > <example> > -d=. ; while [ ! -d "$d/debian" -a `readlink -e $d` != / ]; do d="$d/.."; done > -if [ -d "$d/debian" ] && [ -z "$QUILT_PATCHES" ]; then > +d=. ; while [ ! -d "$d/debian" -a "$( readlink -e "$d" )" != / ]; do > d="$d/.."; done > +if [ -d "$d/debian" -a -z "$QUILT_PATCHES" ]; then > # Debian packaging case and unset $QUILT_PATCHES > QUILT_PATCHES=debian/patches > QUILT_PATCH_OPTS="--unified-reject-files" > QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" > QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" > > QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" > - if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi > + if ! [ -d "$d/debian/patches" ]; then mkdir "$d/debian/patches"; fi > fi > </example> > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

