diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 15:35:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 15:35:43 +0000 |
commit | a40a9732c840e5a324fba78b0ff7980b497c3831 (patch) | |
tree | 0a58624c0807be63216edb69338e8017d5ee445b /.githooks/pre-commit | |
parent | 7961d7e56f011900ca3e391cb6912b77d602d51e (diff) | |
download | aports-a40a9732c840e5a324fba78b0ff7980b497c3831.tar.bz2 aports-a40a9732c840e5a324fba78b0ff7980b497c3831.tar.xz |
githooks: fix pre-commit hook to allow empty source
Diffstat (limited to '.githooks/pre-commit')
-rwxr-xr-x | .githooks/pre-commit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.githooks/pre-commit b/.githooks/pre-commit index be06c22512..24801104fe 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -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 |