Commit a40a9732 authored by Natanael Copa's avatar Natanael Copa

githooks: fix pre-commit hook to allow empty source

parent 7961d7e5
......@@ -40,6 +40,7 @@ abuild_local_sources() {
set -eu
status=0
: ${source:=""}
for src in $source; do
# Skip remote sources.
case "$src" in */*) continue;; esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment