summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTorsten Veller <torsten@veller.net>2009-08-26 10:46:18 +0200
committerTorsten Veller <torsten@veller.net>2009-08-26 10:46:18 +0200
commite42012213021242f21ea1e5061aef388023b8064 (patch)
tree55b17f3fd7fdaf495e4f0591b63a8ef1debf990e /eclass
parentMask Padre::Plugins4 (diff)
downloadperl-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.eclass5
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