aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
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