summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/misc-functions.sh')
-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