Skip to content
Snippets Groups Projects
Commit a40a9732 authored by Natanael Copa's avatar Natanael Copa
Browse files

githooks: fix pre-commit hook to allow empty source

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