Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 2013 00:06:42 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        FreeBSD ports list <freebsd-ports@FreeBSD.org>,  Baptiste Daroussin <bapt@FreeBSD.org>
Subject:   [patch] poudriere (from repo): fix
Message-ID:  <52239E52.9010100@passap.ru>

next in thread | raw e-mail | index | archive | help
Hi All, Baptiste,

there is a hook (bulk.sh) which sends e-mails about starting and
finishing of builds. When the command to send an e-mail about
staring the build is envoked, the variable POUDRIERE_BUILD_TYPE
is not defined (exported). The resilting URL at the e-mail is
wrong.

I propose a tiny patch to fix the issue:
-----
--- bulk.sh.orig        2013-09-01 23:55:56.744091397 +0400
+++ bulk.sh     2013-09-01 23:57:20.067086589 +0400
@@ -156,12 +156,12 @@
        echo " done"
 fi

+export POUDRIERE_BUILD_TYPE=bulk
+
 run_hook bulk start

 read_packages_from_params "$@"

-export POUDRIERE_BUILD_TYPE=bulk
-
 jail_start ${JAILNAME} ${PTNAME} ${SETNAME}

 LOGD=`log_path`
-----

Thanks!
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52239E52.9010100>