diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-06-22 09:50:43 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-06-22 09:50:43 -0500 |
commit | 4b29eda79bc960427f8acd96f33478e0dbb9cc75 (patch) | |
tree | 210f71ce7d98a8fec872f28d605474655277e604 /buildlab.in | |
parent | 48884b4eb8fcc8c63b45b72e364cc10ef74086d3 (diff) | |
download | abuild-4b29eda79bc960427f8acd96f33478e0dbb9cc75.tar.gz abuild-4b29eda79bc960427f8acd96f33478e0dbb9cc75.tar.bz2 abuild-4b29eda79bc960427f8acd96f33478e0dbb9cc75.tar.xz abuild-4b29eda79bc960427f8acd96f33478e0dbb9cc75.zip |
buildlab: parse $triggers
Diffstat (limited to 'buildlab.in')
-rwxr-xr-x | buildlab.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/buildlab.in b/buildlab.in index 2ff21d3..d47a97d 100755 --- a/buildlab.in +++ b/buildlab.in @@ -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) |