summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEric Bélanger <snowmaniscool@gmail.com>2009-11-03 14:47:18 +0100
committerDan McGee <dan@archlinux.org>2009-11-16 02:34:09 +0100
commit120cd312e49b9fbb844dd36c71fe1f2e2910b707 (patch)
tree71ac435937f05b683464a36d6cf674597577453b /scripts
parent4d2ec3751c6e7ee47cdb784ed5cab0992f03c9dc (diff)
downloadpacman-120cd312e49b9fbb844dd36c71fe1f2e2910b707.tar.gz
pacman-120cd312e49b9fbb844dd36c71fe1f2e2910b707.tar.xz
makepkg: Fixed logging for split packages
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> 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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 8398b457..3d776f06 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -145,7 +145,7 @@ clean_up() {
rm -f "${pkgbase}-${pkgver}-${pkgrel}-${CARCH}-package.log"*
elif (( SPLITPKG )); then
for pkg in ${pkgname[@]}; do
- rm -f "${pkg}-${pkgver}-${pkgrel}-${CARCH}-package.log"*
+ rm -f "${pkgbase}-${pkgver}-${pkgrel}-${CARCH}-package_${pkg}.log"*
done
fi
fi
@@ -718,7 +718,7 @@ run_function() {
local ret=0
if (( LOGGING )); then
- BUILDLOG="${startdir}/${pkgname}-${pkgver}-${pkgrel}-${CARCH}-$pkgfunc.log"
+ BUILDLOG="${startdir}/${pkgbase}-${pkgver}-${pkgrel}-${CARCH}-$pkgfunc.log"
if [[ -f $BUILDLOG ]]; then
local i=1
while true; do