From 642b2bcaf65376772bd4b88f3625f9f303a09512 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 5 Jan 2021 17:31:48 +0000 Subject: pkg_build(): create package directories manually This ensures that we create the needed directories regardless of pkg_extract() FossilOrigin-Name: c7c7c11246aeb74343f06e1d5d53ea9ad4cab2f4153d745cb00ae0c62f51b048 --- src/cpt-lib.in | 1 + 1 file changed, 1 insertion(+) 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") -- cgit v1.2.3