summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-04 17:15:09 +1000
committerDan McGee <dan@archlinux.org>2011-06-07 10:49:28 -0500
commit3df88a1a01926587b0b68dcff97d539746e3a8f9 (patch)
tree0e45d325220edb5b78403cd04789186dfb61dae3
parent1744fe12d4b29eff681995441c9565403348aaa2 (diff)
downloadpacman-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>
-rw-r--r--scripts/makepkg.sh.in2
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