diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-07-26 10:37:36 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-07-26 10:37:36 +0000 |
commit | 7256d8f2f7d33c34f31469613b54fd7d193e10ee (patch) | |
tree | bb577bf1d5f0e0a1c51d0bc994baca61c0a4a584 /Mk/Scripts/qa.sh | |
parent | 4dd1dde37c52390a5355598f97a916910541ce6d (diff) |
Notes
Diffstat (limited to 'Mk/Scripts/qa.sh')
-rw-r--r-- | Mk/Scripts/qa.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 389376663766..8f43b7d44f9a 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -918,7 +918,9 @@ license() { local lic autoaccept pkgmirror #distsell distmirror pkgsell - if [ -n "$LICENSE" ]; then + if [ -n "$DISABLE_LICENSES" ]; then + warn "You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks" + elif [ -n "$LICENSE" ]; then for lic in $LICENSE_PERMS; do case "$lic" in auto-accept) autoaccept=1 ;; |