diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-17 14:28:36 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-17 14:28:36 +0000 |
commit | 1ae6616b0a4ea32c4e43f0abcc2a4153d7d6b4e7 (patch) | |
tree | 7af9695a9631411a2aa5845c54d76d9339059b22 /kiss | |
parent | 9fc5e6be0469b8b08b6e6b00fef56d0f0f076d04 (diff) | |
download | cpt-1ae6616b0a4ea32c4e43f0abcc2a4153d7d6b4e7.tar.gz |
kiss: Fix bug when sources has a blank line.
FossilOrigin-Name: c708631f8a85d400e3966545c031605b21986ff4da3ddc95abf8b184ff0cbdae
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ log() { } source_type() { + [ -z "$1" ] && return 1 # No file. [ -f "$1" ] && return 2 # Local file. [ -f "$src_dir/${1##*/}" ] && return 3 # Cached downloaded file. [ -z "${1##git:*}" ] && return 4 # Git repository. |