summaryrefslogtreecommitdiff
path: root/system/musl
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 05:07:45 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 05:07:45 -0400
commit1c094f0b6391ac321c21351ea3def051b81b1d79 (patch)
treea511f0f40018775be1fefd04198a7ad640e1bb9e /system/musl
parent051371f0753cc31c8d3faeddc9893a8af059eb5e (diff)
downloadpackages-1c094f0b6391ac321c21351ea3def051b81b1d79.tar.gz
packages-1c094f0b6391ac321c21351ea3def051b81b1d79.tar.bz2
packages-1c094f0b6391ac321c21351ea3def051b81b1d79.tar.xz
packages-1c094f0b6391ac321c21351ea3def051b81b1d79.zip
system/musl: no, Patrick, echo -e is not portable either
Diffstat (limited to 'system/musl')
-rw-r--r--system/musl/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/musl/APKBUILD b/system/musl/APKBUILD
index 0c4368ee7..73bfea8b5 100644
--- a/system/musl/APKBUILD
+++ b/system/musl/APKBUILD
@@ -82,7 +82,7 @@ package() {
make DESTDIR="$pkgdir" install
# make LDSO the be the real file, and libc the symlink
- local LDSO="$(make -f Makefile --eval "$(echo -e 'print-ldso:\n\t@echo $$(basename $(LDSO_PATHNAME))')" print-ldso)"
+ local LDSO="$(make -f Makefile --eval "$(printf 'print-ldso:\n\t@echo $$(basename $(LDSO_PATHNAME))')" print-ldso)"
mv -f "$pkgdir"/usr/lib/libc.so "$pkgdir"/lib/"$LDSO"
ln -sf "$LDSO" "$pkgdir"/lib/libc.musl-${CARCH}.so.1
ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/lib/libc.so