mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 18:06:19 +02:00
Compare commits
2 Commits
make-warni
...
fee1f6b226
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fee1f6b226 | ||
![]() |
15d920765a |
@@ -123,9 +123,10 @@ fi
|
||||
needsversioning=()
|
||||
|
||||
if [[ ! -e REUSE.toml || ! -e LICENSE || ! -d LICENSES ]]; then
|
||||
error "package doesn't have proper licensing information, set it up using:"
|
||||
# TODO: Make this a hard failure in the future after packagers have had
|
||||
# some time to add licenses to all packages.
|
||||
warning "package doesn't have proper licensing information, set it up using:"
|
||||
msg2 'pkgctl license setup'
|
||||
exit 1
|
||||
else
|
||||
pkgctl license check
|
||||
needsversioning+=(REUSE.toml LICENSE LICENSES/*)
|
||||
|
@@ -345,6 +345,9 @@ for arg in "${@:$OPTIND}"; do
|
||||
-*A*) verifysource_args+=(-A) ;;&
|
||||
-*R*|-*e*) keepbuilddir=1 ;;&
|
||||
esac
|
||||
if [[ $arg != -* && $arg == *=* ]]; then
|
||||
verifysource_args+=("$arg")
|
||||
fi
|
||||
done
|
||||
|
||||
umask 0022
|
||||
|
Reference in New Issue
Block a user