mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Fix pre-commit hook to correctly allow empty changes files.
Fixes bug 30120; bugfix not in any released Tor.
This commit is contained in:
parent
3be1e26b8d
commit
98e08b452f
@ -12,7 +12,7 @@ cd "$workdir" || exit 1
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -z "ls ./changes/*" ]; then
|
||||
if [ -n "$(ls ./changes/)" ]; then
|
||||
python scripts/maint/lintChanges.py ./changes/*
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user