aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-20 10:05:33 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-20 10:05:33 +0000
commitbbd70987950eff6a78ef0611143fcd9865bee3d3 (patch)
tree76e8bb2776eb430199c674099030c2434f307c0f /kiss
parentd7813394d5e3bb7699bd7e2a28d6045dfcd3a794 (diff)
downloadcpt-bbd70987950eff6a78ef0611143fcd9865bee3d3.tar.gz
misc: clean up
FossilOrigin-Name: 0fc77cf8540709c30c2d9b3378c92065f195e7fb07c13b56b3fedb00ad281235
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 1 insertions, 2 deletions
diff --git a/kiss b/kiss
index 413b034..c24d3bc 100755
--- 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