Permalink
Browse files

Fix updating of jail.

Broken by e4036cb for issue #544.

Fixes #555
  • Loading branch information...
bdrewery committed Nov 29, 2017
1 parent d4e83da commit 9d89fedcf47c751b05da352e02db8a4a0c77cb31
Showing with 4 additions and 1 deletion.
  1. +1 −1 src/share/poudriere/common.sh
  2. +2 −0 test/common.bulk.sh
  3. +1 −0 test/port_var_fetch.sh
@@ -501,7 +501,7 @@ do_confirm_delete() {
}
injail() {
if [ ${STATUS:-0} -eq 0 ]; then
if [ ${INJAIL_HOST:-0} -eq 1 ]; then
# For test/
"$@"
elif [ "${USE_JEXECD}" = "no" ]; then
View
@@ -205,6 +205,8 @@ assert_queued() {
export __MAKE_CONF=/dev/null
export SRCCONF=/dev/null
export SRC_ENV_CONF=/dev/null
# Avoid injail() for port_var_fetch
INJAIL_HOST=1
. common.sh
View
@@ -1,6 +1,7 @@
#! /bin/sh
. common.sh
INJAIL_HOST=1
. ${SCRIPTPREFIX}/common.sh
PORTSDIR=${THISDIR}/ports
export PORTSDIR

0 comments on commit 9d89fed

Please sign in to comment.