summaryrefslogtreecommitdiff
path: root/eclass/dotnet.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r--eclass/dotnet.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index b92b9c1b4054..1fb288dd1094 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: dotnet.eclass
@@ -131,7 +131,7 @@ dotnet_multilib_comply() {
then
for exe in "${ED}/usr/bin"/*
do
- if [[ "$(file "${exe}")" == *"shell script text"* ]]
+ if [[ "$(file -S "${exe}")" == *"shell script text"* ]]
then
sed -r -i -e ":/lib(/|$): s:/lib(/|$):/$(get_libdir)\1:" \
"${exe}" || die "Sedding some sense into ${exe} failed"