Ensure repo dirs exist

This commit is contained in:
Ryan Hughes
2025-11-10 12:25:16 -05:00
parent f80be917ce
commit 02abd5fb51
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -145,6 +145,9 @@ build_package() {
MAKEPKG_FLAGS="-scf --noconfirm"
if makepkg $MAKEPKG_FLAGS; then
# Ensure output directory exists
mkdir -p "$BUILD_OUTPUT_DIR"
for pkg_file in *.pkg.tar.*; do
[[ -f "$pkg_file" ]] && cp "$pkg_file" "$BUILD_OUTPUT_DIR/"
done