misc: nit

This commit is contained in:
Dylan Araps 2021-07-03 14:30:28 +00:00
parent 10b378462d
commit 402e5cf5de
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

4
kiss
View File

@ -227,10 +227,6 @@ pkg_sources() {
[ -f "$repo_dir/sources" ] || return 0 [ -f "$repo_dir/sources" ] || return 0
log "$1" "Downloading sources" log "$1" "Downloading sources"
# Store each downloaded source in a directory named after the package it
# belongs to. This avoid conflicts between two packages having a source
# of the same name.
mkdir -p "$src_dir/$1" && cd "$src_dir/$1" mkdir -p "$src_dir/$1" && cd "$src_dir/$1"
while read -r src dest || [ "$src" ]; do while read -r src dest || [ "$src" ]; do