mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-14 10:26:18 +02:00
Compare commits
2 Commits
make-warni
...
fee1f6b226
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fee1f6b226 | ||
![]() |
15d920765a |
@@ -123,9 +123,10 @@ fi
|
|||||||
needsversioning=()
|
needsversioning=()
|
||||||
|
|
||||||
if [[ ! -e REUSE.toml || ! -e LICENSE || ! -d LICENSES ]]; then
|
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'
|
msg2 'pkgctl license setup'
|
||||||
exit 1
|
|
||||||
else
|
else
|
||||||
pkgctl license check
|
pkgctl license check
|
||||||
needsversioning+=(REUSE.toml LICENSE LICENSES/*)
|
needsversioning+=(REUSE.toml LICENSE LICENSES/*)
|
||||||
|
@@ -345,6 +345,9 @@ for arg in "${@:$OPTIND}"; do
|
|||||||
-*A*) verifysource_args+=(-A) ;;&
|
-*A*) verifysource_args+=(-A) ;;&
|
||||||
-*R*|-*e*) keepbuilddir=1 ;;&
|
-*R*|-*e*) keepbuilddir=1 ;;&
|
||||||
esac
|
esac
|
||||||
|
if [[ $arg != -* && $arg == *=* ]]; then
|
||||||
|
verifysource_args+=("$arg")
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
umask 0022
|
umask 0022
|
||||||
|
Reference in New Issue
Block a user