From 82a6d2fcba2569c1fe249283e4513ad66cc0e031 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Wed, 7 Mar 2012 13:45:54 -0500 Subject: Change perl-pkgbuild to use new PKGTREE. Updates genpkg as well. Adds func to genpkg for merging files back together from PKGTREE dir. --- setup | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'setup') 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 -- cgit v1.2.3-24-g4f1b