[pacman-dev] [PATCH 3/4] makepkg: Clarified error message when a sourceball exist already
Allan McRae
allan at archlinux.org
Fri Nov 6 10:25:51 EST 2009
Eric Bélanger wrote:
> Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
> ---
> scripts/makepkg.sh.in | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 8fd5b27..8fc7c82 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -1808,7 +1808,7 @@ msg "$(gettext "Making package: %s")" "$pkgbase $pkgver-$pkgrel ($(date))"
> if [ "$SOURCEONLY" -ne 0 ]; then
> if [ -f "$PKGDEST/${pkgbase}-${pkgver}-${pkgrel}${SRCEXT}" \
> -a "$FORCE" -eq 0 ]; then
> - error "$(gettext "A package has already been built. (use -f to overwrite)")"
> + error "$(gettext "A source package has already been built. (use -f to overwrite)")"
> exit 1
> fi
> create_srcpackage
I'm happy with this. I guess that was not done originally as it
prevents needing to translate two very similar strings.
Dan/Xavier: opinions?
More information about the pacman-dev
mailing list