aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:39 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:39 +0000
commit267d5b45d4c4e1f34e23359b77aa453ee6c017b2 (patch)
tree12f8e0ac5a27d99540f83c9fbce89ebda2cfa01f /Mk
parentc9551e33bb1d80eaa0848aebbab8f8ada279ab89 (diff)
downloadports-267d5b45d4c4e1f34e23359b77aa453ee6c017b2.tar.gz
ports-267d5b45d4c4e1f34e23359b77aa453ee6c017b2.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Scripts/functions.sh b/Mk/Scripts/functions.sh
index 528c24a916ae..72ee5c3fe69e 100644
--- a/Mk/Scripts/functions.sh
+++ b/Mk/Scripts/functions.sh
@@ -197,6 +197,8 @@ export_ports_env() {
value="$(eval echo \$${var})"
if [ -n "${value}" ]; then
+ # shellcheck disable=SC2163
+ # We want to export the variable which name is in var.
export ${var}
echo "export ${var}=\"${value}\""
fi