aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 0c46dbe..9aa232c 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1040,6 +1040,7 @@ pkg_build() {
for pkg do
log "$pkg" "Building package ($((in = in + 1))/$#)"
+ mkdir -p "$mak_dir/$pkg"
pkg_extract "$pkg"
repo_dir=$(pkg_find "$pkg")