[pacman-dev] [PATCH] makepkg: Place source packages symlinks in build dir when SRCPKGDEST is used
Allan McRae
allan at archlinux.org
Wed Jun 23 02:16:29 EDT 2010
On 23/06/10 15:35, Eric Bélanger wrote:
> Signed-off-by: Eric Bélanger<snowmaniscool at gmail.com>
> ---
> scripts/makepkg.sh.in | 12 +++++++++++-
> 1 files changed, 11 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index dbc4047..0219015 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -153,7 +153,7 @@ clean_up() {
>
> # clean up dangling symlinks to packages
> for pkg in ${pkgname[@]}; do
> - for file in ${pkg}-*-*-${CARCH}${PKGEXT}; do
> + for file in ${pkg}-*-*-${CARCH}${PKGEXT} ${pkg}-*-*-${CARCH}${SRCEXT}; do
I decided ${pkg}-*-*-${CARCH}{${PKGEXT},${SRCEXT}} looked better, so I
push this patch to my working branch with that change.
Thanks,
Allan
More information about the pacman-dev
mailing list