aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 17:16:14 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 17:16:14 +0300
commit97e9a80ed3fc696cbe33981bbf096afa905b369c (patch)
tree02c01dcecef506bceaa67db9c8ea824d11190eb0
parente79536aeb55c405cab53b062afa553e95296f7c9 (diff)
downloadrepository-97e9a80ed3fc696cbe33981bbf096afa905b369c.tar.gz
xinit: POSIX sed
-rwxr-xr-xxorg/xinit/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg/xinit/build b/xorg/xinit/build
index 311b9d59..f374273f 100755
--- a/xorg/xinit/build
+++ b/xorg/xinit/build
@@ -7,4 +7,5 @@
make
make DESTDIR="$1" install
-sed -i 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx"
+sed 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx" >_
+cat _ > "$1/usr/bin/startx"