diff options
author | Allan McRae <allan@archlinux.org> | 2011-06-04 09:15:09 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-07 17:49:28 +0200 |
commit | 3df88a1a01926587b0b68dcff97d539746e3a8f9 (patch) | |
tree | 0e45d325220edb5b78403cd04789186dfb61dae3 /scripts | |
parent | 1744fe12d4b29eff681995441c9565403348aaa2 (diff) | |
download | pacman-3df88a1a01926587b0b68dcff97d539746e3a8f9.tar.gz pacman-3df88a1a01926587b0b68dcff97d539746e3a8f9.tar.xz |
makepkg: fix creation of source package with -p
When creating a source package using an non-local buildscript via
the -p option, the inclusion of changelog and install files would
fail. Fixes FS#24567.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 70dd456a..6fb36d27 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1135,7 +1135,7 @@ create_srcpackage() { local i for i in 'changelog' 'install'; do - local filelist=$(sed -n "s/^[[:space:]]*$i=//p" "$BUILDSCRIPT") + local filelist=$(sed -n "s/^[[:space:]]*$i=//p" "$BUILDFILE") local file for file in $filelist; do # evaluate any bash variables used |