[pacman-dev] Delete just $pkgdir instead of whole $pkgdirbase

David Macek david.macek.0 at gmail.com
Mon Feb 23 19:27:50 UTC 2015


On 23. 2. 2015 18:11, Allan McRae wrote:
> I dislike the idea of a non-empty $pkgdir at the start of packaging so
> am not convinced about this yet.

Just to be sure, do you mean $pkgdir, or $pkgdirbase? My proposition was retaining ./pkg/whatever-pkg-dirs, but still cleaning ./pkg/current-pkg-dir before package().

> Why would you not change where the $pkgdir symlink points as part of
> your script that does the needed changes and builds all the package
> variants?

$pkgdirbase doesn't need to be a symlink, the wrapper script doesn't currently link anything by itself. Moreover, symlinks are actually disabled by default in MSYS2 due to various difficulties, and `ln -s` creates copies instead.

-- 
David Macek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4234 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20150223/5909b0fb/attachment.p7s>


More information about the pacman-dev mailing list