summaryrefslogtreecommitdiff
path: root/system/musl/ldconfig
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-22 20:17:48 -0400
committerMax Rees <maxcrees@me.com>2019-07-22 20:17:48 -0400
commitce2e525633866b015dcf4e85abfb991e4aebcf09 (patch)
tree562e2f89e4d2c95c0b11c1bc3ed35b4c83b2f90f /system/musl/ldconfig
parent2707df6cc761dcc2341faa8bafec5b4b4fa33e4d (diff)
downloadpackages-ce2e525633866b015dcf4e85abfb991e4aebcf09.tar.gz
packages-ce2e525633866b015dcf4e85abfb991e4aebcf09.tar.bz2
packages-ce2e525633866b015dcf4e85abfb991e4aebcf09.tar.xz
packages-ce2e525633866b015dcf4e85abfb991e4aebcf09.zip
system/musl: remove |& bashism from ldconfig
Diffstat (limited to 'system/musl/ldconfig')
-rw-r--r--system/musl/ldconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/musl/ldconfig b/system/musl/ldconfig
index 7699c6722..991927bae 100644
--- a/system/musl/ldconfig
+++ b/system/musl/ldconfig
@@ -18,11 +18,11 @@ msg() {
}
musl_arch() {
- $ROOT/usr/lib/libc.so |& sed -n 's/^musl libc (\(.*\))$/\1/p'
+ $ROOT/usr/lib/libc.so 2>&1 | sed -n 's/^musl libc (\(.*\))$/\1/p'
}
musl_version() {
- $ROOT/usr/lib/libc.so |& sed -n 's/^Version //p'
+ $ROOT/usr/lib/libc.so 2>&1 | sed -n 's/^Version //p'
}
read_ldso_conf() {