aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-05 17:31:48 +0000
committermerakor <cem@ckyln.com>2021-01-05 17:31:48 +0000
commit642b2bcaf65376772bd4b88f3625f9f303a09512 (patch)
treeb39dbeb47ac362932980b5bbfbf0b5cf12edfefd /src
parent95f2d2b36dbe54fbc3ca9e330553452cf7423705 (diff)
downloadcpt-642b2bcaf65376772bd4b88f3625f9f303a09512.tar.gz
pkg_build(): create package directories manually
This ensures that we create the needed directories regardless of pkg_extract() FossilOrigin-Name: c7c7c11246aeb74343f06e1d5d53ea9ad4cab2f4153d745cb00ae0c62f51b048
Diffstat (limited to 'src')
-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")