Commit 4b29eda7 authored by Ariadne Conill's avatar Ariadne Conill

buildlab: parse $triggers

parent 48884b4e
......@@ -160,6 +160,15 @@ build_package() {
do_chroot_action "$path" chown abuild:abuild /home/abuild/${src}
done
for i in $triggers; do
src=$(echo $i | cut -d. -f1)
is_local $src || continue
msg "${srcdir}/${src} -> ${path}/home/abuild/src/${src} ..."
cp ${srcdir}/${src} "${path}"/home/abuild/${src}
do_chroot_action "$path" chown abuild:abuild /home/abuild/${src}
done
cp $apkbuild "$path"/home/abuild
do_chroot_action "$path" chown abuild:abuild /home/abuild/$(basename $apkbuild)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment