summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh4
-rwxr-xr-xbin/misc-functions.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ebe2c65d3..d0cf84d1e 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -916,7 +916,7 @@ docompress() {
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
@@ -925,7 +925,7 @@ docompress() {
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
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 46be5011c..e1e5df1fb 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -103,7 +103,7 @@ prepcompress() {
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