aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 22:53:25 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 22:53:25 +0300
commit739d4e4b06019e91be9be631a63a1cb8a0efc2da (patch)
tree10899291ccb50601b250c4c78a6f0ef30c4e4f54 /extra
parented7e06fd1f8c8bea2b2c983ccc994310c82bd0a9 (diff)
downloadrepository-739d4e4b06019e91be9be631a63a1cb8a0efc2da.tar.gz
glib: POSIX sed
Diffstat (limited to 'extra')
-rwxr-xr-xextra/glib/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/glib/build b/extra/glib/build
index 60f19b1f..275818b8 100755
--- a/extra/glib/build
+++ b/extra/glib/build
@@ -3,7 +3,8 @@
export DESTDIR="$1"
# Remove 'libelf' dependency.
-sed -i 's/if have_libelf/if not have_libelf/' gio/meson.build
+sed 's/if have_libelf/if not have_libelf/' gio/meson.build > _
+cat _ > gio/meson.build; rm -f _
meson \
--prefix=/usr \