Skip to content

Commit

Permalink
testport also checks for dialog4ports.
Browse files Browse the repository at this point in the history
Allow portconfig here too.
  • Loading branch information
madpilot78 authored and bapt committed Oct 11, 2023
1 parent 628d150 commit 9c2a5dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/share/poudriere/testport.sh
Expand Up @@ -231,7 +231,9 @@ injail /usr/bin/make -C ${portdir} maintainer ECHO_CMD=true || \
err 1 "Port is broken"

if [ $CONFIGSTR -eq 1 ]; then
command -v dialog4ports >/dev/null 2>&1 || err 1 "You must have ports-mgmt/dialog4ports installed on the host to use -c."
command -v portconfig >/dev/null 2>&1 || \
command -v dialog4ports >/dev/null 2>&1 || \
err 1 "You must have ports-mgmt/dialog4ports or ports-mgmt/portconfig installed on the host to use -c."
__MAKE_CONF=$(mktemp -t poudriere-make.conf)
setup_makeconf "${__MAKE_CONF}" "${JAILNAME}" "${PTNAME}" "${SETNAME}"
PORTSDIR=${portsdir} \
Expand Down

0 comments on commit 9c2a5dc

Please sign in to comment.