Created
April 14, 2021 15:49
-
-
Save bdrewery/6618d33d392b5f9ec1cd0bf10b81ae0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git src/share/poudriere/testport.sh src/share/poudriere/testport.sh | |
index d8f0124da..d04f8c48b 100755 | |
--- src/share/poudriere/testport.sh | |
+++ src/share/poudriere/testport.sh | |
@@ -217,11 +217,11 @@ 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." | |
__MAKE_CONF=$(mktemp -t poudriere-make.conf) | |
setup_makeconf "${__MAKE_CONF}" "${JAILNAME}" "${PTNAME}" "${SETNAME}" | |
- PORTSDIR=${portsdir} \ | |
+ PORTSDIR="${MASTERMNT}${portsdir}" \ | |
__MAKE_CONF="${__MAKE_CONF}" \ | |
PORT_DBDIR=${MASTERMNT}/var/db/ports \ | |
TERM=${SAVED_TERM} \ | |
- make -C ${portdir} \ | |
+ make -C "${MASTERMNT}${portdir}" \ | |
${FLAVOR:+FLAVOR=${FLAVOR}} \ | |
config | |
rm -f "${__MAKE_CONF}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment