23 Feb
2015
23 Feb
'15
7:27 p.m.
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