1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 08:18:51 -05:00
pacman/scripts
Allan McRae 5dc0b80c26 makepkg: clean up BUILDSCRIPT usage
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>
2009-07-12 17:32:57 +10:00
..
.gitignore Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
Makefile.am makepkg: make in-place sed portable 2009-04-26 09:22:23 -05:00
makepkg.sh.in makepkg: clean up BUILDSCRIPT usage 2009-07-12 17:32:57 +10:00
pacman-optimize.sh.in Update copyright headers and messages 2009-07-01 02:08:33 -05:00
pkgdelta.sh.in Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
rankmirrors.py.in Update copyright headers and messages 2009-07-01 02:08:33 -05:00
repo-add.sh.in repo-add: use bsdtar optimization for better performance 2009-06-23 21:51:42 -05:00