From 09fcb2f84258629b6befe8e9a4cc62f15bedfe08 Mon Sep 17 00:00:00 2001 From: Ulrich Mueller Date: Sat, 19 Feb 2011 00:42:36 +0100 Subject: docompress, prepcompress: Add missing quotes. --- bin/ebuild.sh | 4 ++-- bin/misc-functions.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22