commit 7544da13e1dd65905b43a5a4d2efdea48a2e1c2e
parent 69534b8c7ca9a86246ac2ab7162aea02889e201f
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 20 Aug 2019 10:05:34 +0000
misc: clean up
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kiss b/kiss
@@ -122,8 +122,7 @@ pkg_sources() {
# Store each downloaded source in 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"
# Find the package's repository files. This needs to keep
# happening as we can't store this data in any kind of data