Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r15177 - main/branches/prefix/bin
Date: Fri, 08 Jan 2010 12:00:35
Message-Id: E1NTDW3-0007JX-6Z@stork.gentoo.org
1 Author: grobian
2 Date: 2010-01-08 12:00:30 +0000 (Fri, 08 Jan 2010)
3 New Revision: 15177
4
5 Modified:
6 main/branches/prefix/bin/misc-functions.sh
7 Log:
8 Fix some broken lines, possibly fixing bug #299163
9
10 Modified: main/branches/prefix/bin/misc-functions.sh
11 ===================================================================
12 --- main/branches/prefix/bin/misc-functions.sh 2010-01-08 11:32:45 UTC (rev 15176)
13 +++ main/branches/prefix/bin/misc-functions.sh 2010-01-08 12:00:30 UTC (rev 15177)
14 @@ -1159,8 +1159,7 @@
15
16 local delmembers oldmembers libmetadir prunemembers=() prunedirs=()
17 for archive in "${all_archives[@]}"; do
18 - [[ -r ${ROOT}${archive} && -w ${ROOT}${archive} ]] ||
19 - chmod a+r,u+w "${ROOT}${archive}" || die "cannot chmod ${archive}"
20 + [[ -r ${ROOT}${archive} && -w ${ROOT}${archive} ]] || chmod a+r,u+w "${ROOT}${archive}" || die "cannot chmod ${archive}"
21 delmembers= oldmembers=
22 for member in $(${ar} -X32_64 -t "${ROOT}${archive}"); do
23 contentmember="${archive%/*}/.${archive##*/}[${member}]"
24 @@ -1191,10 +1190,8 @@
25 eend $?
26 fi
27 done
28 - [[ ${#prunedirs[@]} == 0 ]] ||
29 - rm -rf "${prunedirs[@]}" || die "cannot prune ${prunedirs[@]}"
30 - [[ ${#prunemembers[@]} == 0 ]] ||
31 - rm -f "${prunemembers[@]}" || die "cannot prune ${contentmenbers[@]}"
32 + [[ ${#prunedirs[@]} == 0 ]] || rm -rf "${prunedirs[@]}" || die "cannot prune ${prunedirs[@]}"
33 + [[ ${#prunemembers[@]} == 0 ]] || rm -f "${prunemembers[@]}" || die "cannot prune ${contentmenbers[@]}"
34 return 0
35 }