Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add licensecheck target, copied from macports-infrastructure; updated work from defunct PR #211 #240

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
base: licensecheck: output license data load failure details via debu…
…g, rather than warn
mascguy committed May 25, 2021
commit 29f1873a1cbec4e166c2a6a4ff434ee3d352cf1a
2 changes: 1 addition & 1 deletion src/port1.0/portlicensecheck.tcl
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ proc portlicensecheck::licensecheck_main {args} {
set license_file [getdefaultportresourcepath "port1.0/licenses/licenses.tcl"]
ui_debug "Loading license data from: '${license_file}'"
if {[catch {source ${license_file}} result]} {
ui_warn "Result from failed license data load attempt: $::errorInfo: result"
ui_debug "Result from failed license data load attempt: $::errorInfo: result"
return -code 1 "License data could not be loaded from: '${license_file}'."
}
}