Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/share
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-09-10 07:14:27 +0300
committerBryan Drewery <bryan@shatow.net>2021-09-25 19:38:56 +0300
commit78c7c6541ad88cfc3e180e4b16840d9e059ced76 (patch)
tree0c5d210538c889d96abec3cf8afbfe7588bd6d0e /src/share
parent9c2d5da79d18f60fd176f5798800e32be1e87868 (diff)
build_pkg: Operate out of MNT_DATADIR rather than MASTER_DATADIR
Diffstat (limited to 'src/share')
-rw-r--r--src/share/poudriere/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 1c574dd2..ff988a03 100644
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -4983,6 +4983,7 @@ build_pkg() {
fi
MNT_DATADIR="${mnt}/${DATADIR_NAME}"
add_relpath_var MNT_DATADIR
+ cd "${MNT_DATADIR}"
if [ ${TMPFS_LOCALBASE} -eq 1 -o ${TMPFS_ALL} -eq 1 ]; then
if [ -f "${mnt}/${LOCALBASE:-/usr/local}/.mounted" ]; then