aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-06 10:26:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-06 10:26:17 +0000
commitced64e0f281f7b2de2bef0d421b1e244160a3631 (patch)
treed64dfbc813f48adcdda1beefea8f5f3e1cfd9116
parent5c7356dcdeeb9ed96c88e60caba352d1f27856da (diff)
downloadpaludis-ced64e0f281f7b2de2bef0d421b1e244160a3631.tar.gz
paludis-ced64e0f281f7b2de2bef0d421b1e244160a3631.tar.xz
Don't complain about blank lines in CONTENTS
-rw-r--r--ebuild/builtin_unmerge.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/ebuild/builtin_unmerge.bash b/ebuild/builtin_unmerge.bash
index 5d2ffa4..9582edf 100644
--- a/ebuild/builtin_unmerge.bash
+++ b/ebuild/builtin_unmerge.bash
@@ -30,6 +30,7 @@ builtin_unmerge()
sort -r -t ' ' -k 2 < "${dbdir}/CONTENTS" | \
while read entry ; do
+ [[ -z "${entry}" ]] && continue
local items=( ${entry} )
case ${items[0]} in
dir)
@@ -84,6 +85,7 @@ builtin_unmerge()
sort -r -t ' ' -k 2 < "${dbdir}/CONTENTS" | \
while read entry ; do
+ [[ -z "${entry}" ]] && continue
local items=( ${entry} )
case ${items[0]} in
dir)