index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Biru Ionut <ionut@archlinux.ro> | 2009-08-05 19:22:12 +0300 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-08-06 14:56:44 -0700 |
commit | 7c97db47cb8b8568558bdfad0a16a3fb2ceb9f82 (patch) | |
tree | cfd6af3e75263f817478e2ec7b28d8873e214b2a | |
parent | 2ba39720a0ac588d0edd40517f4af76b991355d1 (diff) |
-rwxr-xr-x | makechrootpkg | 11 |
diff --git a/makechrootpkg b/makechrootpkg index 2ae729e..5f5fb88 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -191,9 +191,14 @@ for f in ${source[@]}; do cp "$SRCDEST/$basef" "$uniondir/srcdest/" fi done -if [ "$install" != "" -a -f "$install" ]; then - cp "$install" "$uniondir/build/" -fi + +install_files=$(grep "install=" PKGBUILD) +for f in $install_files;do + install="${f#"install="}" + if [ "$install" != "" -a -f "$install" ]; then + cp "$install" "$uniondir/build/" + fi +done if [ -f "ChangeLog" ]; then cp ChangeLog "$uniondir/build/" |