summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-22 12:42:42 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-22 12:42:42 -0500
commite9dc56625152991ba535f5be3ab88fc7ec8dbcfc (patch)
tree0e2beb346f0f25475a0e95cfe8cbcb5dc89695d9 /bin/misc-functions.sh
parentda268c268e7fb91318a4676025ec841a4444b362 (diff)
downloadportage-e9dc56625152991ba535f5be3ab88fc7ec8dbcfc.tar.gz
portage-e9dc56625152991ba535f5be3ab88fc7ec8dbcfc.tar.bz2
portage-e9dc56625152991ba535f5be3ab88fc7ec8dbcfc.zip
strip trailing whitespace
No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index db023e48a..853489a04 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -397,7 +397,7 @@ install_qa_check() {
# Check for files built without respecting LDFLAGS
if [[ "${LDFLAGS}" == *,--hash-style=gnu* ]] && \
- ! has binchecks ${RESTRICT} ; then
+ ! has binchecks ${RESTRICT} ; then
f=$(scanelf -qyRF '%k %p' -k .hash "${ED}" | sed -e "s:\.hash ::")
if [[ -n ${f} ]] ; then
echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log
@@ -620,8 +620,8 @@ install_qa_check() {
done
done
- # When installing static libraries into /usr/lib and shared libraries into
- # /lib, we have to make sure we have a linker script in /usr/lib along side
+ # When installing static libraries into /usr/lib and shared libraries into
+ # /lib, we have to make sure we have a linker script in /usr/lib along side
# the static library, or gcc will utilize the static lib when linking :(.
# http://bugs.gentoo.org/4411
abort="no"
@@ -1121,10 +1121,10 @@ preinst_selinux_labels() {
(
eval "$(/usr/sbin/selinuxconfig)" || \
die "Failed to determine SELinux policy paths.";
-
+
addwrite /selinux/context
addwrite /sys/fs/selinux/context
-
+
/usr/sbin/setfiles "${file_contexts_path}" -r "${D}" "${D}"
) || die "Failed to set SELinux security labels."
else