17 Sep
2013
17 Sep
'13
10:18 p.m.
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.