18 Sep
2013
18 Sep
'13
noon
On 18 September 2013 06:18, Xyne <xyne@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. -- GPG/PGP ID: C0711BF1