[arch-dev-public] [Patch] makechrootpkg: fixed copying of .install file to chroot for split packages
31 Aug
2009
31 Aug
'09
6:36 p.m.
Hi, here's a patch to fix the copying of .install file to chroot for split packages. There is a flyspray task open for this but as it's down, I'm sending the patch here Eric --- ../devtools.git/makechrootpkg 2009-08-29 18:36:31.000000000 -0400 +++ makechrootpkg 2009-08-29 18:35:04.000000000 -0400 @@ -193,6 +193,13 @@ done install_files=$(grep "install=" PKGBUILD) +for pkg in ${pkgname[@]}; do + install_files+=' ' + install_files+=$(echo $install_files |sed "s/\$pkgname/$pkg/"|sed "s/\${pkgname}/$pkg/") +done + +install_files=$(eval echo $install_files |tr '[:blank:]' '\n'|sort |uniq) + for f in $install_files;do install="${f#"install="}" if [ "$install" != "" -a -f "$install" ]; then
5559
Age (days ago)
5559
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Bélanger