Skip to content

Commit

Permalink
Fix updating of jail.
Browse files Browse the repository at this point in the history
Broken by e4036cb for issue #544.

Fixes #555
  • Loading branch information
bdrewery committed Nov 29, 2017
1 parent d4e83da commit 9d89fed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/share/poudriere/common.sh
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/common.bulk.sh
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions test/port_var_fetch.sh
@@ -1,6 +1,7 @@
#! /bin/sh

. common.sh
INJAIL_HOST=1
. ${SCRIPTPREFIX}/common.sh
PORTSDIR=${THISDIR}/ports
export PORTSDIR
Expand Down

0 comments on commit 9d89fed

Please sign in to comment.