1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/Mk/Scripts/ports_env.sh
Bryan Drewery 481f66bd21 Follow-up r399170 with a script, ports_env.sh, that can be used for the purpose.
This will allow Poudriere to know if it is possible to use the feature or not
by the existence of the file.

Also fix quoting issues.

With hat:	portmgr
2015-10-13 00:03:10 +00:00

14 lines
182 B
Bash

#! /bin/sh
# MAINTAINER: portmgr@FreeBSD.org
# $FreeBSD$
if [ -z "${SCRIPTSDIR}" ]; then
echo "Must set SCRIPTSDIR" >&2
exit 1
fi
. ${SCRIPTSDIR}/functions.sh
export_ports_env