summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-03-07 19:45:54 +0100
committerJustin Davis <jrcd83@gmail.com>2012-03-07 19:45:54 +0100
commit82a6d2fcba2569c1fe249283e4513ad66cc0e031 (patch)
tree85446a9ba35e45cdb5efd8b8462d0e447c083a88 /setup
parent0873b3e326586ff2b7b3b0e6cbdd85e1a31ec4ad (diff)
downloadgenpkg-82a6d2fcba2569c1fe249283e4513ad66cc0e031.tar.gz
genpkg-82a6d2fcba2569c1fe249283e4513ad66cc0e031.tar.xz
Change perl-pkgbuild to use new PKGTREE.
Updates genpkg as well. Adds func to genpkg for merging files back together from PKGTREE dir.
Diffstat (limited to 'setup')
-rwxr-xr-xsetup12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup b/setup
index b70a293..ea34080 100755
--- a/setup
+++ b/setup
@@ -3,10 +3,10 @@
set -e
umask 022
prog=setup
-binfiles=(genpkg mkpkgmeta modpkgmeta pbfields mergepbfields emitpkgtree)
-metas=(perl perl.d/
- perl.d/fetchcpan perl.d/perl-dist perl.d/perl-dist-funcs
- perl.d/scrapecore)
+binfiles='genpkg mkpkgmeta modpkgmeta pbfields mergepbfields putpkgtree getpkgtree'
+metas='perl perl.d/
+ perl.d/fetchcpan perl.d/perl-dist perl.d/perl-pkgbuild
+ perl.d/scrapecore'
md()
{
@@ -36,14 +36,14 @@ Run "$prog tweaks" to install tweaks into ~/pkg/tweaks.
EOF
;;
genpkg) md ~/bin
- for pkg in ${binfiles[@]}
+ for pkg in $binfiles
do
ins "bin/$pkg" ~
done
md ~/.genpkg
md ~/.genpkg/metas
- for m in ${metas[@]}
+ for m in $metas
do
ins "metas/$m" ~/.genpkg
done