[aur-general] uppity replaces curlpaste in [community]
Jonathan Steel
mail at jsteel.org
Wed Sep 18 11:40:08 EDT 2013
On Wed 18 Sep 2013 at 20:00, Rashif Ray Rahman wrote:
> On 18 September 2013 06:18, Xyne <xyne at archlinux.ca> wrote:
> > Jonathan Steel wrote:
> >
> >>$_gitname is $srcdir/$_gitname, not $startdir/$_gitname, so it's fine. To
> >>double-check I set $SRCDEST to point somewhere else and it builds fine
> >>still.
> >
> > You're right. Looking at the source of makepkg, I see now that all functions cd
> > into $srcdir. I still prefer the "$srcdir/$_gitname" format as it is explicit
> > and future-proof, but there is currently no technical reason to do so.
>
> I was told by at least one pacman dev (can't quite recall who or via
> which communication channel) that this practice should not be
> obsoleted; we should continue to navigate into $srcdir before doing
> anything.
Thanks both, I agree specifically using $srcdir would be clearer/better
practice. I'll update my git packages accordingly next time I touch them.
--
Jonathan Steel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20130918/4f405224/attachment.asc>
More information about the aur-general
mailing list