pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/scripts Clean up the old lo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d458ede2cc74
branches: trunk
changeset: 532599:d458ede2cc74
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Aug 24 07:17:46 2007 +0000
description:
Clean up the old log files when retrying to build a package.
diffstat:
pkgtools/pbulk/files/pbulk/scripts/pkg-build | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 48fd586aa516 -r d458ede2cc74 pkgtools/pbulk/files/pbulk/scripts/pkg-build
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-build Fri Aug 24 07:14:28 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-build Fri Aug 24 07:17:46 2007 +0000
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: pkg-build,v 1.3 2007/08/15 21:10:55 joerg Exp $
+# $NetBSD: pkg-build,v 1.4 2007/08/24 07:17:46 rillig Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
# All rights reserved.
@@ -72,8 +72,9 @@
# Install fresh bootstrap state
[ -n "${bootstrapkit}" ] && ${tar} -xzf ${bootstrapkit} -C /
-# Output directory
+# Create the output directory and clean it up
mkdir -p ${bulklog}/${pkgname}
+rm -f ${bulklog}/${pkgname}/*
# Go to target directory
cd ${pkgsrc}/${pkgdir}
Home |
Main Index |
Thread Index |
Old Index