pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Make the directory before creating the pkgsrc-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99a9add02551
branches:  trunk
changeset: 499376:99a9add02551
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Sep 21 15:46:06 2005 +0000

description:
Make the directory before creating the pkgsrc-results text file in it.

(Maybe the BUILDDATE is not needed since by default the directory
has the specific date stamp in it.)

diffstat:

 mk/bulk/build |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a9f14a876d0d -r 99a9add02551 mk/bulk/build
--- a/mk/bulk/build     Wed Sep 21 15:06:42 2005 +0000
+++ b/mk/bulk/build     Wed Sep 21 15:46:06 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: build,v 1.56 2005/09/20 18:54:37 xtraeme Exp $
+# $NetBSD: build,v 1.57 2005/09/21 15:46:06 reed Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -389,7 +389,7 @@
 # Perl was wiped, reinstall it!
 ( cd lang/perl5 && ${BMAKE} bulk-install )
 BUILDDATE=`date +%Y-%m-%d`
-
+mkdir -p ${FTP}
 ${PERL5} mk/bulk/post-build > ${FTP}/pkgsrc-results-${BUILDDATE}.txt
 if [ "$noemail" = "no" ]; then
 ${MAIL_CMD} -s "pkgsrc ${OPSYS} ${OS_VERSION}/${MACHINE_ARCH} bulk build results $BUILDDATE" $ADMIN < ${FTP}/pkgsrc-results-${BUILDDATE}.txt



Home | Main Index | Thread Index | Old Index