[patch] poudriere (from repo): fix
Boris Samorodov
bsam at passap.ru
Sun Sep 1 20:06:45 UTC 2013
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
More information about the freebsd-ports
mailing list