cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit fd6c5c4507595f734cdb1ebdd132a7fe32a1da7e
parent 5518845c2d8355255f15c64a73d7b8c60e8d1db2
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Mon, 17 Jun 2019 17:28:37 +0300

kiss: Fix bug when sources has a blank line.

Diffstat:
Mkiss | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/kiss b/kiss @@ -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.