[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patche
From: |
Andreas Gruenbacher |
Subject: |
Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory |
Date: |
Fri, 24 Feb 2012 08:17:15 +0100 |
On Fre, 2012-02-24 at 00:27 +0100, Raphaël Hertzog wrote:
> From: Julien Viard de Galbert <address@hidden>
>
> Within the Debian source package, .pc/quilt_patches ensures that
That should be .pc/.quilt_patches here.
As I look at this, I notice that commit ebbbdc87 which introduces
this .pc/.quilt_patches and .pc/.quilt_series stuff is a little stupid:
+if [ -r $QUILT_PC/.quilt_patches ]
+then
+ : ${QUILT_PATCHES:=$(< $QUILT_PC/.quilt_patches)}
+else
+ : ${QUILT_PATCHES:=patches}
+fi
+if [ -r $QUILT_PC/.quilt_series ]
+then
+ : ${QUILT_SERIES:=$(< $QUILT_PC/.quilt_series)}
+else
+ : ${QUILT_SERIES:=series}
+fi
We only need to check if $QUILT_PC/.quilt_patches exists if
QUILT_PATCHES is unset, like this (and similar for
$QUILT_PC/.quilt_series):
if [ -z "$QUILT_PATCHES" ]
then
if [ -r "$QUILT_PC/.quilt_patches" ]
then
QUILT_PATCHES=$(< "$QUILT_PC/.quilt_patches")
else
QUILT_PATCHES=patches
fi
fi
Andreas
- [Quilt-dev] Debian patches to merge, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 3/4] quilt mail: force locale to C when generating date for the From header, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 4/4] Force the sender in the "quilt mail" test suite, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactively, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphaël Hertzog, 2012/02/23
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory,
Andreas Gruenbacher <=
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/29
Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/29