aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-14 16:07:59 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-14 16:07:59 +0000
commitdc2d7ec88f352da94924402cf1ae5f7e09415c54 (patch)
tree8b43d0429bfde583ea8a38b6b825cefec95a6fc7
parent73aecebfc38dc0b22d11c6873b23d8fc6893c22a (diff)
downloadcpt-dc2d7ec88f352da94924402cf1ae5f7e09415c54.tar.gz
sources: support blank lines
FossilOrigin-Name: 734853e7ef97d2f5b516e279ebab0c6828ad858bdf60b99800a8bddb30d7508f
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 3a11208..262e3e1 100755
--- a/kiss
+++ b/kiss
@@ -238,8 +238,8 @@ pkg_extract() {
die "Commit hash ${src##*#} doesn't exist"
;;
- # Git repository or comment.
- git+*|\#*) continue ;;
+ # Git repository, comment or blank line.
+ git+*|\#*|'') continue ;;
# Only 'tar' archives are currently supported for extraction.
# Any other file-types are simply copied to '$mak_dir' which