Skip to content

Commit bc9d778

Browse files
committed
[fix] : Fixed pkgbuild list path
1 parent 9d2d735 commit bc9d778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,13 @@ make_pkgbuild() {
600600
fi
601601

602602
#-- PKGBUILDが入ったディレクトリを作業ディレクトリにコピー --#
603-
for _dir in $(find "${_dir}" -type f -name "PKGBUILD" 2>/dev/null | xargs -If realpath f | xargs -If dirname f); do
603+
for _dir in $(find "${_pkgbuild_dirs}" -type f -name "PKGBUILD" 2>/dev/null | xargs -If realpath f | xargs -If dirname f); do
604604
mkdir -p "${airootfs_dir}/pkgbuilds/"
605605
cp -r "${_dir}" "${airootfs_dir}/pkgbuilds/"
606606
done
607607

608608
#-- ビルドスクリプトの実行 --#
609-
# prepare for yay
609+
# prepare for makepkg
610610
cp -rf --preserve=mode "${script_path}/system/pkgbuild.sh" "${airootfs_dir}/root/pkgbuild.sh"
611611
sed "s|https|http|g" "${work_dir}/pacman-${arch}.conf" > "${airootfs_dir}/etc/alteriso-pacman.conf"
612612

0 commit comments

Comments
 (0)