summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Mueller <ulm@gentoo.org>2010-08-29 08:24:26 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-28 23:56:55 -0700
commit613a281393f76b316d22ecd73a7a856c642dad72 (patch)
tree083e5b3b61a3a56da054b1a792c06a25753f5b83
parent2199ae89850d18030fde680a7ffe97e1405c8a7e (diff)
downloadportage-613a281393f76b316d22ecd73a7a856c642dad72.tar.gz
portage-613a281393f76b316d22ecd73a7a856c642dad72.tar.bz2
portage-613a281393f76b316d22ecd73a7a856c642dad72.zip
Change a comment in prepcompress().
-rwxr-xr-xbin/misc-functions.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 50799976c..c6949cd19 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -85,8 +85,9 @@ prepcompress() {
done
# Remove redundant entries from lists.
- # For the include list, remove any entries that are
- # contained in a directory in the include or exclude lists.
+ # For the include list, remove any entries that are:
+ # a) contained in a directory in the include or exclude lists, or
+ # b) identical with an entry in the exclude list.
for (( i = ${#include[@]} - 1; i >= 0; i-- )); do
f=${include[i]}
for g in "${include[@]}"; do