aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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