aboutsummaryrefslogtreecommitdiff
path: root/extra/iw
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 22:53:55 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 22:53:55 +0300
commit67c815de38d54941846e4ad054b8f9c030be98aa (patch)
tree224a0b2b95f076f80c5a4b9dcfa025c0e90b1c76 /extra/iw
parent739d4e4b06019e91be9be631a63a1cb8a0efc2da (diff)
downloadrepository-67c815de38d54941846e4ad054b8f9c030be98aa.tar.gz
iw: POSIX sed
Diffstat (limited to 'extra/iw')
-rwxr-xr-xextra/iw/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/iw/build b/extra/iw/build
index 369ee9b8..c3f0c0b3 100755
--- a/extra/iw/build
+++ b/extra/iw/build
@@ -2,5 +2,6 @@
# iw manpage is extremely small,
# we don't need to compress it.
-sed 's@\(iw\.8\)\.gz@\1@' -i Makefile
+sed 's@\(iw\.8\)\.gz@\1@' Makefile > _
+cat _ > Makefile; rm -f _
make DESTDIR="$1" PREFIX="/usr" SBINDIR="/usr/bin" install