diff options
author | Torsten Veller <torsten@veller.net> | 2009-08-26 10:46:18 +0200 |
---|---|---|
committer | Torsten Veller <torsten@veller.net> | 2009-08-26 10:46:18 +0200 |
commit | e42012213021242f21ea1e5061aef388023b8064 (patch) | |
tree | 55b17f3fd7fdaf495e4f0591b63a8ef1debf990e /eclass | |
parent | Mask Padre::Plugins4 (diff) | |
download | perl-overlay-e42012213021242f21ea1e5061aef388023b8064.tar.gz perl-overlay-e42012213021242f21ea1e5061aef388023b8064.tar.bz2 perl-overlay-e42012213021242f21ea1e5061aef388023b8064.zip |
Add an array for DUALLIFESCRIPTS
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 232627fa8..cdd8fe028 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -60,7 +60,6 @@ VENDOR_LIB="" pm_echovar="" perlinfo_done=false -DUALLIFESCRIPTS="" perl-module_src_unpack() { base_src_unpack unpack @@ -235,7 +234,7 @@ linkduallifescripts() { local i ff if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then - for i in ${DUALLIFESCRIPTS} ; do + for i in "${DUALLIFESCRIPTS[@]}" ; do alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-*" ff=`echo "${ROOT}"/usr/share/man/man1/${i}-${PV}-${P}.1*` ff=${ff##*.1} @@ -245,7 +244,7 @@ linkduallifescripts() { pushd "${D}" > /dev/null for i in $(find usr/bin -maxdepth 1 -type f 2>/dev/null) ; do mv ${i}{,-${PV}-${P}} || die - DUALLIFESCRIPTS="${DUALLIFESCRIPTS} ${i##*/}" + DUALLIFESCRIPTS[${#DUALLIFESCRIPTS[*]}]=${i##*/} if [[ -f usr/share/man/man1/${i##*/}.1 ]] ; then mv usr/share/man/man1/${i##*/}{.1,-${PV}-${P}.1} || die fi |