mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
5dc0b80c26
FS#15448 (which is made worse by the "fix" for FS#14727...), highlighted some deficiencies in the usage of the BUILDSCRIPT variable. In particular, only relative paths worked with "-p" and some output was very strange in combination with the "-p" flag or reading from /dev/stdin. e.g. "Please add a license line to your /dev/stdin!". This patch adds a new variable, BUILDFILE, which contains the full path to the BUILDSCRIPT. This defaults to $startdir/$BUILDSCRIPT. Also, fix a missed quoting of $BUILD{SCRIPT->FILE} and remove warning about missing BUILDSCRIPT definition in makepkg.conf as the default BUILDSCRIPT value is now specified during configure. Add check that BUILDFILE is writable before updating VCS PKGBUILDs. When making a source package, the BUILDSCRIPT always gets given the default name, regardless of what it was originally called. Signed-off-by: Allan McRae <allan@archlinux.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
makepkg.sh.in | ||
pacman-optimize.sh.in | ||
pkgdelta.sh.in | ||
rankmirrors.py.in | ||
repo-add.sh.in |