mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
add extra checker
This commit is contained in:
parent
b09611a692
commit
1c276141df
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ if [ -z "${1:-}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
set -x
|
||||
if [ -z "$(git diff-tree --no-commit-id --name-only -r "${1}")" ]; then
|
||||
printf "No changed files detected, nothing to do\n"
|
||||
exit 1
|
||||
fi
|
||||
for i in $(git diff-tree --no-commit-id --name-only -r "${1}"); do
|
||||
if [ "${i%.ebuild}" != "${i}" ]; then
|
||||
printf "%s looks like an ebuild, testing\n" "${i}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue