f=$(strip_duplicate_slashes "${f}"); f=${f%/}
[[ ${f:0:1} = / ]] || f="/${f}"
for g in "${PORTAGE_DOCOMPRESS_SKIP[@]}"; do
- [[ ${f} = ${g} ]] && continue 2
+ [[ ${f} = "${g}" ]] && continue 2
done
PORTAGE_DOCOMPRESS_SKIP[${#PORTAGE_DOCOMPRESS_SKIP[@]}]=${f}
done
f=$(strip_duplicate_slashes "${f}"); f=${f%/}
[[ ${f:0:1} = / ]] || f="/${f}"
for g in "${PORTAGE_DOCOMPRESS[@]}"; do
- [[ ${f} = ${g} ]] && continue 2
+ [[ ${f} = "${g}" ]] && continue 2
done
PORTAGE_DOCOMPRESS[${#PORTAGE_DOCOMPRESS[@]}]=${f}
done
fi
done
for g in "${exclude[@]}"; do
- if [[ ${f} = ${g} || ${f} == "${g%/}"/* ]]; then
+ if [[ ${f} = "${g}" || ${f} == "${g%/}"/* ]]; then
unset include[i]
continue 2
fi